Property Object
Description
Object that represents a Property. See the article in the overviews section.
Methods
Delete |
Method that deletes this Property from its PropertySet. |
Properties
Dirty |
Property that returns a Boolean flag that indicates whether this property has been edited or created. |
DisplayName |
Gets/Sets the human-readable name associated with this Property. |
Expression |
Gets/Sets expression that defines the value of this property. |
Name |
Gets the human-readable name of this Property, if any. |
Parent |
Property that returns the parent object from whom this object can logically be reached. |
PropId |
Gets the identifier (PROPID) of this Property. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Value |
Gets/Sets the value of this Property. |
Accessed From
PropertySet.Add,
PropertySet.Item,
PropertySet.ItemByPropId
Samples
Create or update custom iProperty |
This example creates a custom iProperty if it doesn't exist and updates the value if it does already exist. A part document must be open before runnin the sample. |
Get value of iProperty |
Demonstrates getting the values of the "Part Number" iProperty. Any property can be retrieved by accesing the correct property set and property.
A document must be open when this sample is run. |
Version
Introduced in version 4