.NET API
Other interfaces
The bases the handles share, and interfaces no facade returns directly. A handle lists their members as its own, marked (from …).
IGemSetting
Handle — extends IParametricObject.
| Property | Type | ||
|---|---|---|---|
GemCaratWeight | double | get | |
GemMaterial | string | get | |
GemShape | string | get | |
Id | Guid | get | (from IParametricObject) |
LayerName | string | get | (from IParametricObject) |
MotherGemId | Guid | get | (from IParametricObject) |
ObjectType | string | get | (from IParametricObject) |
Position | Point3d | get | (from IParametricObject) |
| Method | |
|---|---|
void Delete() | (from IParametricObject) |
void Move(Vector3d translation) | (from IParametricObject) |
IParametricGroup
Handle — extends IParametricObject.
Handles for the parametric GROUPS whose model is exposed as JSON rather than as a typed section tree: the model is read with GetParameter(path) and, where the ParametricEngine can regenerate the group, changed with SetParameter(path, value) — the path is the JSON property path of the kernel model (“Center.Height”, “Prongs.Diameter”), which describe_object_parameters / ParametersJson show. edit_object falls back to SetParameter for keys the handle has no Set* for.
| Property | Type | ||
|---|---|---|---|
Id | Guid | get | (from IParametricObject) |
LayerName | string | get | (from IParametricObject) |
MemberCount | int | get | Rhino objects in the group |
MotherGemId | Guid | get | (from IParametricObject) |
ObjectType | string | get | (from IParametricObject) |
ParametersJson | string | get | the kernel model, as stored in the group |
Position | Point3d | get | (from IParametricObject) |
| Method | |
|---|---|
void Delete() | (from IParametricObject) |
string GetParameter(string path) | dotted JSON path; null when absent |
void Move(Vector3d translation) | (from IParametricObject) |
IParametricObject
Handle.
| Property | Type | ||
|---|---|---|---|
Id | Guid | get | |
LayerName | string | get | |
MotherGemId | Guid | get | |
ObjectType | string | get | |
Position | Point3d | get |
| Method | |
|---|---|
void Delete() | |
void Move(Vector3d translation) |