Function GetLName returns the name of the referenced layer.
FUNCTION GetLName(h : HANDLE): STRING;def vs.GetLName(h):
return STRING| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to layer. |
Returns the name of the referenced layer.
[sd 8/14/98]
actLayerH := actLayer;
IF GetLayer (h) <> NIL THEN Layer (GetLName (GetLayer (h)));
{Layer (GetLName (GetLayer (h)));}
getArcProps (objH, method, r, theta1, theta2, maxSegLength, x, y);
BEGIN
gActlayName := GetLName(ActLayer);
tmpQStr := Concat('((SEL) & (L = ',QStr(gActLayName),'))');
ObjCount := 0;
ObjCount := Count(tmpQStr);
IF ObjCount > 0 THEN
{store the active Layer}
actLH := ActLayer;
{change the active Layer}
Layer( GetLName( GetLayer( textFoundH ) ) );activeLayerName = vs.GetLName( vs.ActLayer() )See also in tutorials: 10. Iterate the Drawing and Report a Summary, 22. Selected Objects → Worksheet Rows, 23. Count Objects by Criteria (Formula-Driven), 25. Geometric Property Extraction Table
Availability: from All Versions