GetObjectLayer Method (ISketchManager) Send Feedback
See Also 
Layer[out]
Name of Layer; empty string if Obj is not a valid DraftSight API object
Obj
Sketch entity
Gets the name of the Layer where the specified sketch entity resides.

Syntax

Visual Basic 
Function GetObjectLayer( _
   ByVal Obj As System.Object _
) As System.String
C# 
System.string GetObjectLayer( 
   System.object Obj
)
JavaScript 
GetObjectLayer( 
   Obj : Object
) : String
COM native C++ 
HRESULT GetObjectLayer( 
   IDispatch* Obj,
   BSTR* Layer
) 
C++ 
DSRESULT GetObjectLayer( 
   dsObject* Obj,
   dsString* Layer
) 

Parameters

Obj
Sketch entity
Layer[out] or Return Value
Name of Layer; empty string if Obj is not a valid DraftSight API object
 

See Also

Availability

DraftSight V1R1.4