![]() |
v2.41
|
|
Base interface for views that work with model objects. More...
Public Member Functions | |
| HRESULT | GetObjectVisualStyle ([in] int objectId, [out, retval] enum VisualStyle *pVisualStyle) |
| Returns the object's visual style. | |
| HRESULT | IsObjectVisible ([in] int objectId, [out, retval] VARIANT_BOOL *pVisible) |
| Returns the object's visibility state. | |
| HRESULT | SetObjectsVisibility ([in] SAFEARRAY(int) objectIds, [in] VARIANT_BOOL visible_) |
| Changes the visibility state of a set of objects. | |
| HRESULT | SetObjectsVisualStyle ([in] SAFEARRAY(int) objectIds, [in] enum VisualStyle visualStyle_) |
| Changes the visual style of a set of objects. | |
| HRESULT | ShowObjects ([in] SAFEARRAY(int) objectIds) |
| Show objects by a collection of their IDs. Implemented only for 3D view. | |
Properties | |
| int | RepresentedEntityId [get] |
| The ID of the entity represented by the model view. | |
| VisualStyle | VisualStyle [get, set] |
| The view's default visual style. | |
Properties inherited from IView | |
| int | Id [get] |
| The view ID. | |
| ViewType | Type [get] |
| The actual type of the view. | |
Base interface for views that work with model objects.
| HRESULT GetObjectVisualStyle | ( | [in] int | objectId, |
| [out, retval] enum VisualStyle * | pVisualStyle ) |
Returns the object's visual style.
| [in] | objectId | Object's identifier. |
| [out] | pVisualStyle | The requested object visual style. |
| HRESULT IsObjectVisible | ( | [in] int | objectId, |
| [out, retval] VARIANT_BOOL * | pVisible ) |
Returns the object's visibility state.
| [in] | objectId | Object's identifier. |
| [out] | pVisible | TRUE if the object is visible, FALSE otherwise. |
| HRESULT SetObjectsVisibility | ( | [in] SAFEARRAY(int) | objectIds, |
| [in] VARIANT_BOOL | visible_ ) |
Changes the visibility state of a set of objects.
| [in] | objectIds | Array of object identifiers. |
| [in] | visible_ | New visibility state. |
| HRESULT SetObjectsVisualStyle | ( | [in] SAFEARRAY(int) | objectIds, |
| [in] enum VisualStyle | visualStyle_ ) |
Changes the visual style of a set of objects.
| [in] | objectIds | Array of object identifiers. |
| [in] | visualStyle_ | New visual style. |
| HRESULT ShowObjects | ( | [in] SAFEARRAY(int) | objectIds | ) |
Show objects by a collection of their IDs. Implemented only for 3D view.
| [in] | objectIds | An array of IDs of object to select. |
|
get |
The ID of the entity represented by the model view.