VS:VM SelectSimilar

From VectorMEP
Revision as of 11:22, 16 November 2020 by Admin (talk | contribs)
Jump to navigation Jump to search

Description

Procedure VM_SelectSimilar enables you to select similar objects based on your active selection. The purpose is to be able to quickle select objects of the same type.

PROCEDURE VM_MoveToLayer())

Parameters

h HANDLE Handle to layer.

Remarks

When comparing objects, normal

Example

PROCEDURE MoveToLayer;
VAR
    h : HANDLE;
BEGIN
    h := NIL; 
    {h := GetObject('LayerName'); in case of predefined layer}
    IF VerifyLibraryRoutine('VM_MoveToLayer') THEN
		BEGIN
			IF (GetType(h) = 31) OR (h = NIL) THEN VM_MoveToLayer(h);
        End
    ELSE
        Message('The routine VM_MoveToLayer is not available.');
END;
RUN(MoveToLayer);

Version

Availability: from VectorMEP 2021