Returns the value of the attribute from the block definition.
attributeValueFromDefinition ( blockDef As String, _
file As String, _
tag As String ) As String
| Argument | Type | Description |
|---|---|---|
| blockDef | string | The name of the block definition. |
| file | string | The file name of the block definition. If no path is specified, Intent looks in the default AutoCAD Save File location. |
| tag | string | The attribute tag. |
Intent >attributeValueFromDefinition?("TestBlock1", "c:\My Documents\My Blocks\TestBlock1.dwg" "Name")
--> "Test"