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: 

Parsing XML and extracting data for parameters in ilogic

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
ahmed.hagi
577 Views, 2 Replies

Parsing XML and extracting data for parameters in ilogic

I'm trying to parse an xml and assign the values from the xml to parameters in the document through an ilogic rule.

I can't seem to import the msxml2.dll or add it as a reference. 

 

ahmedhagi_0-1646314414114.png

 

 

Is there another way to parse an xml, extract the data and set it to parameters in the document?

I don't want to use VBA because this needs to be linked to this template file and run when the user imports the xml from wherever they have it saved.

Tags (3)
Labels (3)
2 REPLIES 2
Message 2 of 3
jjstr8
in reply to: ahmed.hagi

I suggest the .NET XML library.  You can work out the code details in a stand-alone app in Visual Studio first, where you have real debugging capability.  Once you have the code working, port it to iLogic.

 

AddReference "System.Xml.dll"

 

Message 3 of 3
ahmed.hagi
in reply to: jjstr8

Sounds like a good idea. I'll have to do that.


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

Post to forums  

Technology Administrators


Autodesk Design & Make Report