Community
Hi
I am trying to import a GML file via lisp. The problem is the entmake functie returns nil.
What is wrong with this entitie-list I can't find it. Is there a missing list perhaps??
Command: (entmake entlijst_polygon)
nil
Command: !entlijst_polygon
((0 . "MPOLYGON") (8 . "Perceel") (67 . 0) (70 . 1) (10 0.0 0.0 0.0) (2 . "_SOLID")
(71 . 1) (91 . 1) (92 . 2) (73 . 0) (72 . 0) (93 . 5) (10 -8.755 8.33 0.0)
(10 2.545 -8.33 0.0) (10 8.755 -4.4 0.0) (10 2.685 -0.24 0.0) (10 -8.755 8.33 0.0)
(76 . 1) (63 . 256) (11 232719.0 461766.0 0.0) (99 . 0) (450 . 0) (451 . 0) (460 . 0.0)
(461 . 0.0) (452 . 0) (462 . 0.0) (453 . 0) (470 . "")
)
Solved! Go to Solution.
Solved by CADaSchtroumpf. Go to Solution.
Hi,
And if you add code 100 and 210?
Your exemple modified:
(entmake '( (0 . "MPOLYGON") (100 . "AcDbEntity") (8 . "Perceel") (67 . 0) (100 . "AcDbMPolygon") (70 . 1) (10 0.0 0.0 0.0) (210 0.0 0.0 1.0) (2 . "_SOLID") (71 . 1) (91 . 1) (92 . 2) (73 . 0) (72 . 0) (93 . 5) (10 -8.755 8.33 0.0) (10 2.545 -8.33 0.0) (10 8.755 -4.4 0.0) (10 2.685 -0.24 0.0) (10 -8.755 8.33 0.0) (76 . 1) (63 . 256) (11 232719.0 461766.0 0.0) (99 . 0) (450 . 0) (451 . 0) (460 . 0.0) (461 . 0.0) (452 . 0) (462 . 0.0) (453 . 0) (470 . "") ) )
Hello
Thanks for jour reaction. You where right code 100 was the problem.
gr. Theo
Can't find what you're looking for? Ask the community or share your knowledge.