Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
1346 Views, 1 Reply

map xml to user parameters in ilogic or vb

Hello,

 

I am trying parse and import parameters from an .xml file into inventor. I've attached the file for reference.

 

The file I've attached is an output from a home-grown design program for one of the products we use. It spits out this file to be read by our ERP system downstream of Engineering. I would also like to use it to populate my model with parameters so the drawing is generated automatically. 

 

For example, the material_thickness nodes correspond to steel plate thicknesses, and the lenght/width correspond to steel plate rectangular dimensions. There are also bolt diameters and other parameters I would like to read.

 

I know there is an out of the box import/export xml parameters, but from what I understand the xml has to be formatted a specific way. I would like to map this existing schema to user parameters in my model. If someone could send me an ilogic or vb code snippet that would be great.

 

Thanks

Matt