Glyph2 Version 2.18.0 Mode Types - - Merger |
pw:: MergerThe merge mode type Derives FromNotesTo create a mode of this type, use the pw::Application.begin command with the mode Merge specified, like this: set merger [pw::Application begin Merge] Summary
replace
This action replaces the first entity with the second entity, unless -automatic option is specified. For -automatic, the best replacement is done. The two entities must be of the same type. Parameters
ReturnsThis action returns nothing. merge
This action automatically merges two connectors. Parameters
ReturnsThis action returns true if the connectors were merged. findPairs
This action finds pairs of entities that are within the given tolerance, filtered by the given type and topology. Any previously found pairs will be cleared and not merged. Parameters
ReturnsThis action returns nothing. getPair
This action gets a pair of entities with the given index. Parameters
ReturnsDepending on the type of the last findPairs action this action will return a list of two pw::Node objects, a list of two pw::Connector objects, or a list of a single pw::Node object and a single pw::Connector object. setPairStatus
This action sets the merge status of the given pair. Parameters
ReturnsThis action returns nothing. mergeConnectors
This action merges connectors and nodes within the tolerance. Parameters
ReturnsThis action returns nothing. |
This action replaces the first entity with the second entity, unless -automatic option is specified.
$merger replace ?-automatic? < node1 node2 | con1 con2 >
This action automatically merges two connectors.
$merger merge con1 con2
This action finds pairs of entities that are within the given tolerance, filtered by the given type and topology.
$merger findPairs -tolerance tol ?-exclude topology? types
This action gets the number of pairs found from the last findPairs action.
$merger getPairCount
This action gets a pair of entities with the given index.
$merger getPair ?-delta deltaVar? ?-status statusVar? index
This action sets the merge status of the given pair.
$merger setPairStatus index status
This action merges the pairs that have been marked for merging.
$merger mergePairs
This action merges connectors and nodes within the tolerance.
$merger mergeConnectors ?-exclude topology? ?-visibleOnly? -tolerance tol
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?