*CE_ReadXmlString

Creates a connector from an XML string.

Syntax

*CE_ReadXmlString string reserved1 reserved2

Type

HyperMesh Tcl Modify

Description

This command creates a connector from an XML string.

Inputs

string
The string containing the XML connector definition.
reserved1
Reserved for future use. Must be set to 0.
reserved2
Reserved for future use. Must be set to 0.

Examples

To create a connector from an XML string:
*CE_ReadXmlString <CE_Connectors><CE_Link_List NumberOfLinks="2"><CE_Link Type="comps" Id="1" Rule="none" State="elems" /><CE_Link Type="comps" Id="2" Rule="none" State="elems" /></CE_Link_List><CE_Spot Id="1"><Location><Cords>8.514332 0.150252 0.000000</Cords></Location><CE_Detail CompID="2" CompName="bottom_square" Thickness="2" /><FE_Detail Config="rigid" Tolerance="7.000000" FESolver="0" System="0" Connectivity="0" Nonnormal="0" /><CE_Metadata_List><CE_Metadata Type="Int" Name="ce_fe_acm_numhexa" Value="1" /><CE_Metadata Type="String" Name="ce_comp" Value="bottom_square" /></CE_Metadata_List></CE_Spot></CE_Connectors> 0 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0.101