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: 

Inventor Ilogic Rule

1 REPLY 1
Reply
Message 1 of 2
raja4222liza
240 Views, 1 Reply

Inventor Ilogic Rule

Hi Mate,

 

Please find my below code in ILOgic Rule in inventor. It throws error Like Unable load Referenced Liabrary . And  FileSystemObject is not defined.

 

 

FileSystemObject is not defined.

AddReference "scrrun.dll"

Dim fso As New FileSystemObject
Dim fld As Folder
Dim fil As File
'Check Part file from Project path
fld = fso.GetFolder(ProjectPath)

 

Please provide me the Solution. Thanks In Advance.

 

Thanks & Regards

Raj

 

1 REPLY 1
Message 2 of 2

Hi, you mean this...

 

'AddReference "scrrun.dll"

fso = CreateObject("Scripting.FileSystemObject")
'Dim fld As Folder
'Dim fil As File
'Check Part file from Project path
fld = fso.GetFolder("d:\")

MsgBox(fld.Path)

 Bregs

Rossano Praderi



--------------------------------------
If my post answers your question, please click the "Accept as Solution"
button. This helps everyone find answers more quickly!
---------------

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

Post to forums  

Autodesk Design & Make Report