VCOM:VectorWorks:ISDK::ParentObject

From Vectorworks Developer
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:ISDK

Returns the 'parent' of h, that is, h's immediate owner. For most objects, this is the layer they are in; for an object in a container, it is its enclosing container; for a layer, it is the drawing header. The drawing header and any symbol definitions which are not in any folder have no parent; calling ParentObject on them will return nil.

virtual MCObjectHandle ParentObject(
MCObjectHandle h)

Parameters

MCObjectHandle h No information available.

Return Value

On error returns: nil

Version

Availability: from Vectorworks 2009