VCOM:VectorWorks:IToolInteractiveDraw::GetObject
Jump to navigation
Jump to search
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks
Member of VCOM:VectorWorks:IToolInteractiveDraw. Gets the following object types for the given id: kLocusNode, kLineNode, kArcNode, kBoxNode, kOvalNode, rBoxNode, kPolylineNode, kPolygonNode, dimHeaderNode, and kExtrudeNode. If the object type with the given id does not exist, new object of the given type is created and returned.
virtual MCObjectHandleVCOM_CALLTYPE GetObject(
short objType,
Sint32 id = 0) = 0;
Parameters
objType short no info. id Sint32 no info.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed Routine failed.