Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get full path of library.

1 REPLY 1
Reply
Message 1 of 2
Anonymous
362 Views, 1 Reply

Get full path of library.

Hello,

 

in the code below, the "oLibraryPath.Path" returns: .\Library. How can I get the full path?

 

Dim oLibraryPath As ProjectPath

For Each oLibraryPath In oLibraryPaths
                Dim oDirs() As String = Directory.GetDirectories(oLibraryPath.Path)
Next oLibraryPath

 

 

1 REPLY 1
Message 2 of 2
YuhanZhang
in reply to: Anonymous

To get the full path of a library you can combine the DesignProject.FullFileName with the library path, the library path is relative to the DesignProject directory.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report