DBObjectFromAcadObject Method

Returns the ID of an ACAD database object.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public static ObjectId FromAcadObject(
        Object acadObj
)

Parameters

acadObj  Object
[in] ACAD object from which to get the ID.

Return Value

ObjectId
Remarks
This method throws the 'ArgumentNullException' exception if the passed argument is null.
See Also

©  Bricsys NV. All rights reserved.