Skip to content

.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.

PropertyType
GemCaratWeightdoubleget
GemMaterialstringget
GemShapestringget
IdGuidget(from IParametricObject)
LayerNamestringget(from IParametricObject)
MotherGemIdGuidget(from IParametricObject)
ObjectTypestringget(from IParametricObject)
PositionPoint3dget(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.

PropertyType
IdGuidget(from IParametricObject)
LayerNamestringget(from IParametricObject)
MemberCountintgetRhino objects in the group
MotherGemIdGuidget(from IParametricObject)
ObjectTypestringget(from IParametricObject)
ParametersJsonstringgetthe kernel model, as stored in the group
PositionPoint3dget(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.

PropertyType
IdGuidget
LayerNamestringget
MotherGemIdGuidget
ObjectTypestringget
PositionPoint3dget
Method
void Delete()
void Move(Vector3d translation)