

WxListBox ( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0, const wxValidator &validator= wxDefaultValidator, const wxString &name=wxListBoxNameStr)ĭestructor, destroying the list box. WxListBox ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, int n=0, const wxString choices=NULL, long style=0, const wxValidator &validator= wxDefaultValidator, const wxString &name=wxListBoxNameStr)Ĭonstructor, creating and showing a list box. If you want to access the properties of a component within an assembly, you would need to specify the target component's name, then the property set's name, then the property's name as the input variables within the parenthesis ().See also w圎ditableListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent The name "Custom" is recognized as an alternative name for the "Inventor User Defined Properties" property set. Where "Custom" represents the name of a property set, and "PropertyName" is the name of a custom property within that set, and "PropertyValue" is the value you want to set to that property. iProperties.Value("Custom","PropertyName") = "PropertyValue" This example is setting the value of a local custom property. With When dealing with local (stored in the active document) properties, you just have to specify the property set, then the property name as the inputs to this snippet, then either assign a value to it, or get the value from it to assign to a variable or use directly. This can be used to get or set the value of an iProperty. (All Items within this Property Set are custom created, therefore none are standard, but the set is always there.)Īnother route to accessing the iProperties uses the iProperties.Value() snippet. So you can cross reference which Item number is which property set and which property. When you create new custom iProperties within the 'custom' property set, you have the opportunity to specify the value you want to give this property, but if you choose not to, the system will assign it for you. The PropID property is a unique internal name that is usually assigned to the property by the system (helps the system uniquely identify this property from all others).

They can be identified by their names, by their index numbers within their parent set, or by their PropID property. There are many ways to access the individual properties within these sets. 'Dim oUserDefProps As PropertySet = oPropSets.Item(4) 'However, unlike the other 3 sets, this set will Not contain any properties until they are created.ĭim oUserDefProps As PropertySet = oPropSets.Item("Inventor User Defined Properties") 'This set (as well as the previous 3 sets) will always exists in every document. 'This is often called the "Custom" property set. 'The following is the Fourth item in this document's Property Sets 'Dim oDesTrackProps As PropertySet = oPropSets.Item(3) 'The following is the Third item in this document's Property Setsĭim oDesTrackProps As PropertySet = oPropSets.Item("Design Tracking Properties") 'Dim oDocSumInfo As PropertySet = oPropSets.Item(2) 'The following is the Second item in this document's Property Setsĭim oDocSumInfo As PropertySet = oPropSets.Item("Inventor Document Summary Information") 'Dim oSumInfo As PropertySet = oPropSets.Item(1) 'The following is the First item in this document's Property Setsĭim oSumInfo As PropertySet = oPropSets.Item("Inventor Summary Information") Dim oDoc As Document = ThisDoc.Documentĭim oPropSets As PropertySets = oDoc.PropertySets It includes several comment lines that tell you a little about the standard property sets found within all Inventor documents. The items within each of these property sets are the properties (all listed out below).
#Reload xlist code#
This small sample of iLogic code shows one way (of multiple ways) to access these standard property sets. It doesn't matter whether they apprear to have values or not, those properties will always be there and always have the same index numbers within their property sets. And all the properties within the first 3 standard property sets will always exist within these property sets, within each Inventor document, and their index numbers will also always be the same. These four standard property sets will always exist within every Inventor document, and they will always have the same index numbers. You'll notice that you can identify each property set either by its name (as a String) or by its index number (Integer) within the document's property sets.

This is an itemized list I made of every iProperty available.
