- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
You can get iproperty "weld Material" in a weldment assembly
which is also discussed here:
https://forums.autodesk.com/t5/inventor-customization/ilogic-read-weldment-material-name/td-p/589196...
But I got a form that allows engineers to easily manipulate all iproperties.
In case of a weldment assembly we also want them to chance ' material' of the assembly from that form.
So if I use this:
oDoc.PropertySets.Item("Design Tracking Properties").Item("Weld Material").Value = "Steel, Mild"When i go to: Welds -> iProperties -> Physical -> Material, I still see the old material.
But when i open my form again, which on load get:
Me.combobox.selectedItem = oDoc.PropertySets.Item("Design Tracking Properties").Item("Weld Material").Value
The value is changed to Steel mild (just an example)
So apparently the iProperty("Weld material") did change, but not if you look at Welds -> iProperties -> Physical -> Material.
When i change the material manually in Welds -> iProperties -> Physical -> Material, my form responds to it as well on load.
This behaviour is different from when you change iproperty material in a part document.
Am I doing something wrong or did I stumble upon a bug?
You can test this behaviour with this ilogic script:
DTP_PropertySet = ThisDoc.Document.PropertySets.Item("Design Tracking Properties") oWeldMatl = DTP_PropertySet.Item("Weld Material").Value MessageBox.Show("Currently:" & oWeldMatl, "iLogic") DTP_PropertySet.Item("Weld Material").Value = "Steel, Mild" MsgBox("Now changed to: " & DTP_PropertySet.Item("Weld Material").Value)
Using Inventor 2018.3.8
Solved! Go to Solution.

Download the prerelease of Hole Projector for Inventor 2027