AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
SceneManager (long width, long height) | |
Camera | GetCamera () |
SelectionManager | GetSelection () |
void | SetSelection (SelectionManager val) |
AxisAlignedBox | GetWorldBBox () |
AxisAlignedBox | GetSceneBBox () |
Scene2D | GetScene2D () |
CoordinateGridWidget | GetCoodinateGrid () |
void | SetCoodinateGrid (CoordinateGridWidget val) |
Background | GetBackground () |
void | SetBackground (Background val) |
long | GetDisplayFilter () |
void | SetDisplayFilter (long val) |
long | AddScene (Scene scene) |
boolean | RemoveScene (long sceneId) |
Scene | FindScene (long sceneId) |
Scene | GetScene () |
Scene | GetTempScene () |
void | ResetDisplayFilters () |
void | AddDisplayFilter (EnumShapeFilter filter) |
void | ClearDisplayFilter (EnumShapeFilter filter) |
boolean | Select (long nodeId) |
boolean | Select (ElementId id) |
boolean | SelectSubShape (long nodeId, EnumShapeFilter type, long shapeIndex) |
boolean | SelectSubTopo (long nodeId, EnumShapeFilter type, long topoIdx) |
boolean | SelectSubShape (ElementId id, EnumShapeFilter type, long shapeIndex) |
boolean | SelectSubTopo (ElementId id, EnumShapeFilter type, long topoIdx) |
void | UpdateWorld (boolean forced) |
void | Clear () |
<>
The container to manage the Scenes.
boolean SceneManager.SelectSubShape | ( | ElementId | id, |
EnumShapeFilter | type, | ||
long | shapeIndex | ||
) |
Selet the sub shape by element id
id | the Element id |
type | the sub type. |
shapeIndex | the index |
boolean SceneManager.SelectSubShape | ( | long | nodeId, |
EnumShapeFilter | type, | ||
long | shapeIndex | ||
) |
Selet the sub shape by NodeId
nodeId | the Node UUID |
type | the sub type |
shapeIndex | the index |