Community
Hello!
Can someone help me with this? Looking for the ilogic code to place in the drawing rule to close *.ipt file that was recently open.
Thank you, Any help appreciated
Solved! Go to Solution.
ok. I found the solution.
Thank you.
Dim oPart As PartDocument oPart = ThisApplication.Documents.Open(filename, False) oPart.Close
how would you close an assembly file?
i figured it out. I was missing the extension for the file name i was trying to close.
SyntaxEditor Code Snippet
opendoc = ThisDoc.PathAndFileName()'saves doc path and file name doc = ThisApplication.Documents.Open(opendoc & ".iam")'saves 'doc' as the open application from 'opendoc' adding the extension '.iam' doc.Close 'closes the indicated document 'doc'
Can't find what you're looking for? Ask the community or share your knowledge.