*CE_ConvertByMark_new
Converts several spot or bolt connectors into a spotline or boltlline.
Syntax
*CE_ConvertByMark_new mark_id source_style target_style tolerance angle unrealized_flag combine_within_comp_only
Type
HyperWorks Tcl Query
Description
Converts several spot or bolt connectors into a spotline or boltlline.
Inputs
- mark_id
- The ID of the mark containing the connectors to convert. Valid values are 1 and 2.
- source_style
- The source connector style "spot" or "bolt".
- target_style
- The target connector style "spotline" or "boltline".
- tolerance
- The maximum distance between locations.
- angle
- The maximum angle between locations to create the line.
- unrealize_flag
- 0 - Do not unrealize the new connectors
- combine_within_comp_only
- 0 - Combine connectors across components
Example
To combine spot connectors 101, 102 and 103 to spotline connectors:
*createmark connectors 1 101 102 103
*CE_ConvertByMark_new 1 "spot" "spotline" 15.0 10.0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.120