AddCustomObject Method

Creates a Custom object.

See Also | Example

Signature

RetVal = object.AddCustomObject(ClassName)

Object

ModelSpace Collection, PaperSpace Collection, Block
The object or objects this method applies to.

ClassName

String; input-only
The rxClassName must be defined in an ObjectARX® application (ObjectARX DLL) or the method will fail.

RetVal

Custom object
The newly created Custom object.

Remarks

The ObjectARX DLL defining the rxClassName custom class must be loaded. Use the LoadARX method on the Application object to explicitly load the ObjectARX DLL.

 

   Comments?