attributeExistsInDefinition?()

Synopsis

Checks to see if an attribute is present in a block definition.

Syntax

attributeExistsInDefinition? ( handle As String, _
                               tag As String ) As Boolean 
Argument 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.

Example 1

Intent >attributeExistsInDefinition?("TestBlock1", "c:\My Documents\My Blocks\TestBlock1.dwg" "Name") 
--> True