Hello.
I have two questions:
1) A rulled surface has this property:
- ((-1 . ) (0 . "POLYLINE") (330 . ) (5 . "E7A4") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "MESH") (100 . "AcDbPolygonMesh") (66 . 1) (10 0.0 0.0 0.0) (70 . 16) ... )[0] (-1 . )[1] (0 . "POLYLINE")[2] (330 . )[3] (5 . "E7A4")[4] (100 . "AcDbEntity")[5] (67 . 0)[6] (410 . "Model")[7] (8 . "MESH")[8] (100 . "AcDbPolygonMesh")[9] (66 . 1)[10] (10 0.0 0.0 0.0)[11] (70 . 16)[12] (40 . 0.0)[13] (41 . 0.0)[14] (210 0.0 0.0 1.0)[15] (71 . 2)[16] (72 . 13)[17] (73 . 0)[18] (74 . 0)[19] (75 . 0)
How do I detect if user selected object is indeed AcDbPolygonMesh?
- (print (assoc 100 (ENTGET (CAR (ENTSEL)))))
returns
2) When exploded rulled surface splits into 3dfaces:
- ((-1 . ) (0 . "3DFACE") (330 . ) (5 . "E3A3") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "MESH") (100 . "AcDbFace") (10 89.7284 285.885 36.8229) (11 89.5724 285.624 36.8372) (12 89.1476 289.961 -9.4...[0] (-1 . )[1] (0 . "3DFACE")[2] (330 . )[3] (5 . "E3A3")[4] (100 . "AcDbEntity")[5] (67 . 0)[6] (410 . "Model")[7] (8 . "MESH")[8] (100 . "AcDbFace")[9] (10 89.7284 285.885 36.8229)[10] (11 89.5724 285.624 36.8372)[11] (12 89.1476 289.961 -9.45313)[12] (13 90.397 290.068 -9.11998)[13] (70 . 0)
Is there a way get these 3dface's objects (coordinates with assoc 10,11,12 and 13) from rulled surface object without exploding it?
Thank you. |