AutoXChange 2007 XML Reference Tailor Made Software  
Add Multiple Line Text to Insert

The following syntax allows the user to add a multiple line text string in the middle of the given Block Reference.

The syntax is identical to the Single Line Text syntax except the text string contains Line End marks (\P).

XML Syntax

<BlockRef>
    <Name>lote</Name>
    <Handle>D9</Handle>
    <Text>Sample D9\PSecond Line\PThird Line</Text>
    <TextHeight>.2</TextHeight>
</BlockRef>

XML Specifics

 Name This is the name of the Block Definition. This is actually optional, but makes the file easier to read.
 Handle This is the AutoCAD Entity Handle. It defines the specific Block Reference (Insert) being modified.
 Text The text string to add at the middle of the Block Reference. The extra lines are marked using the Line End symbol "\P". The entire paragraph is centered in the middle of the insert.
 TextHeight The height (in World Coordinates) of the text to be added.

 



 
Copyright © 2006 Tailor Made Software, Ltd