attributeLocationInDefinition()

Synopsis

Returns the vector location of the attribute definition.

Syntax

attributeLocationInDefinition ( blockName As String, _
                                fileName As String, _
                                tag As String, _
                                Optional value As Any = "" ) As Vector 

Arguments

Name Type Description
blockName string The name of the insert.
fileName 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.
value any Optional; the attribute value; default is "".

Example 1

Intent >attributeLocationInDefinition?("TestBlock1", "c:\My Documents\My Blocks\TestBlock1.dwg", "Name") 
--> Vector_(0.0, 0.0, 0.0, WorldFrame())