Community
Hi Guys,
I use iLogic to open up some parts, update them, then insert them into an assembly. All the parts are in different folders depending on which assembly they are contained.
Is there a way to open up the part based on the filename without giving the full file path if I have the project file set?
I.e. Part 1 filename = C:\Test\Assy1\Part1.ipt
Project File Location = C:\Test
Could I open this file using iLogic without hard coding the foldername 'Assy1'?
somthing along the lines of :- Doc.Open(ThisDoc.Workspace() & "Part1.ipt")
thanks,
John
you can use the DesignProjectManager
DesignProjectManager.ActiveDesignProject.WorkspacePath