How to add your knowledge
attributeValueFromDefinition()
Table of contents
- 1. Synopsis
- 2. Syntax
- 3. Example 1
Synopsis
Returns the value of the attribute from the block definition.
Syntax
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. |
Example 1
Intent >attributeValueFromDefinition?("TestBlock1", "c:\My Documents\My Blocks\TestBlock1.dwg" "Name")
--> "Test"
Comments