A bit more...
This spline entity returns area and circumference
-> Selecione entidade < 1 > :
SPLINE Layer: "Camada 1"
Space: Model space
Color: 7 (white) Linetype: "BYLAYER"
Handle = 2e
Area: 251.0456
Circumference: 88.7003
but this one does not (look Area: -1.0000)
however, circumference is ok...
-> Selecione entidade < 1 > :
SPLINE Layer: "Camada 1"
Space: Model space
Color: 7 (white) Linetype: "BYLAYER"
Handle = 8d
Area: -1.0000
Circumference: 1153.2008
Order: 4
Properties: Planar, Non-Rational, Periodic
Parametric Range: Start 0.0000
End 1.0000
So, the code bellow retrieves the area, even negative
(VLAX-GET-PROPERTY
(VLAX-ENAME->VLA-OBJECT (CAR (ENTSEL)))
'area
)
-1.0
But could not retrieve the circumference
(VLAX-GET-PROPERTY
(VLAX-ENAME->VLA-OBJECT (CAR (ENTSEL)))
'circumference
)
; error: ActiveX Server returned the error: unknown name: CIRCUMFERENCE
What I need is just the circumference of this spline...
e.fernal