iv_documentPropertyGet()

Synopsis

Reads an Inventor Document property, specified by either display name or internal name. The property may belong to any property set, i.e., both pre-defined property sets and user-created property sets are searched.

Similar to iv_propertyGet(), but operates on the document handle (or occurrence handle for virtual components).

Syntax

iv_documentPropertyGet ( docHandle As String, propertyName As String ) As Any 	
>
Argument Type Description
docHandle string Handle of the Inventor document owning the property.
propertyName string Name of the property.

Example 1

Return "Part Number" property
Intent > iv_documentPropertyGet(%%Document, "Part Number") 
--> "Cylinder.1978D7D75476274995268A0517D0555E"		
Return "Author" property
Intent >iv_documentPropertyGet(%%Document, "Author") 
--> "korzuna"