Difference between revisions of "VS:VM SelectSimilar"
Jump to navigation
Jump to search
m (→Parameters) |
m (→Example) |
||
Line 13: | Line 13: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="pascal"> | <syntaxhighlight lang="pascal"> | ||
− | PROCEDURE | + | PROCEDURE SelectSimilar; |
− | |||
− | |||
BEGIN | BEGIN | ||
− | + | IF VerifyLibraryRoutine('VM_SelectSimilar') THEN | |
− | |||
− | IF VerifyLibraryRoutine(' | ||
BEGIN | BEGIN | ||
− | + | VM_MoveToLayer(h); | |
End | End | ||
ELSE | ELSE | ||
− | Message('The routine | + | Message('The routine VM_SelectSimilar is not available.'); |
END; | END; | ||
− | RUN( | + | RUN(SelectSimilar); |
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
== Version == | == Version == | ||
Availability: from VectorMEP 2021 | Availability: from VectorMEP 2021 | ||
[[Category:VS Function Reference:Object Editing]] | [[Category:VS Function Reference:Object Editing]] | ||
__NOTOC__ | __NOTOC__ |
Revision as of 11:26, 16 November 2020
Description
Procedure VM_SelectSimilar enables you to select similar objects based on your active selection. The purpose is to be able to quickly select objects of the same type.
PROCEDURE VM_SelectSimilar();
Remarks
All objects should be compatible. In case of selecting an object based on a type definition, similar type instances will become selected.
Example
PROCEDURE SelectSimilar;
BEGIN
IF VerifyLibraryRoutine('VM_SelectSimilar') THEN
BEGIN
VM_MoveToLayer(h);
End
ELSE
Message('The routine VM_SelectSimilar is not available.');
END;
RUN(SelectSimilar);
Version
Availability: from VectorMEP 2021