ilogic - function - Save sa

ilogic - function - Save sa

Henrik_Lo
Collaborator Collaborator
440 Views
1 Reply
Message 1 of 2

ilogic - function - Save sa

Henrik_Lo
Collaborator
Collaborator

HI
I like to auto-save a drawing *.Idw file, in different formats, I tried to use Ilogic for the firs time.
I looked for a tutorial and tried to follow an example When I Finnish up the dialog box I got this error message.

 

Error on Line 1 : 'Documents' is not a member of 'Autodesk.iLogic.Interfaces.ICadDoc'.

 

Can somebody help me with this one.

 

Regards
Henrik

0 Likes
441 Views
1 Reply
Reply (1)
Message 2 of 2

Vladimir.Ananyev
Alumni
Alumni

Should be Document, not Documents:

 

ThisDoc.Document.SaveAs(NewFileNameAndExtension , True)


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes