_.MAPCREATEFEATUREFROMGEOMETRY problem

_.MAPCREATEFEATUREFROMGEOMETRY problem

svucic
Advocate Advocate
684 Views
0 Replies
Message 1 of 1

_.MAPCREATEFEATUREFROMGEOMETRY problem

svucic
Advocate
Advocate

Greetings  everyone,

 

I'm using the "_.MAPCREATEFEATUREFROMGEOMETRY" in my code. When I type (command "_.MAPCREATEFEATUREFROMGEOMETRY" sds "" "") in the command line there are no problems. It creats a new feature from the polyline in selection set 'sds'.

But when I implemnt the command inside a autolisp code I get this

 

Command: (load "maptosdf")
C:MAPTOSDF
Command: *Cancel*
Command: MAPTOSDF
...DCL_TEST Cancelled.
Select closed curves to select object(s) within: nilnilKP_Broj
1630/7_.MAPCREATEFEATUREFROMGEOMETRY
Erase the selected object after operating [Yes/No]<Yes>:
Invalid option keyword.
; error: Function cancelled
Erase the selected object after operating [Yes/No]<Yes>:
Message #0: Cannot convert one of the selected objects.
Geometry
Message code: 1.
Message #1: Cannot convert one of the selected objects.
Geometry
Message code: 1.
Message #2: Cannot convert one of the selected objects.

 

and so on...

 

0 Likes
685 Views
0 Replies
Replies (0)