Skip to content

.NET API

AdvancedSignetRingApi

Advanced signet rings — the same face plus a lateral profile and an optional wedge cut at the bottom of the band.

from ArtisanPlugin.Scripting import AdvancedSignetRingApi

See also the Python package, ra.advanced_signet_ring.

Methods

Method
AllIAdvancedSignetRing handles for every object of this kind in the active document (empty when there is no document).
ByLayerIAdvancedSignetRing handles on the layer with the given full path (empty when the layer does not exist).
CountNumber of objects of this kind in the active document.
FindThe handle for id, or null when the id does not belong to an object of this kind.
SelectedIAdvancedSignetRing handles for the objects of this kind currently selected in the active document.

All

IReadOnlyList<IAdvancedSignetRing> AdvancedSignetRingApi.All()

IAdvancedSignetRing handles for every object of this kind in the active document (empty when there is no document).

Returns IReadOnlyList<IAdvancedSignetRing>.

ByLayer

IReadOnlyList<IAdvancedSignetRing> AdvancedSignetRingApi.ByLayer(string layerName)

IAdvancedSignetRing handles on the layer with the given full path (empty when the layer does not exist).

ParameterTypeDefault
layerNamestringrequired

Returns IReadOnlyList<IAdvancedSignetRing>.

Count

int AdvancedSignetRingApi.Count()

Number of objects of this kind in the active document.

Returns int.

Find

IAdvancedSignetRing AdvancedSignetRingApi.Find(Guid id)

The handle for id, or null when the id does not belong to an object of this kind.

ParameterTypeDefault
idGuidrequired

Returns IAdvancedSignetRing.

Selected

IReadOnlyList<IAdvancedSignetRing> AdvancedSignetRingApi.Selected()

IAdvancedSignetRing handles for the objects of this kind currently selected in the active document.

Returns IReadOnlyList<IAdvancedSignetRing>.

Handles and sections

What the methods above hand back. A handle’s setters regenerate the object; wrap changes in a Transaction so they land as one undo step.

IAdvancedSignetRing

Handle — extends IParametricObject.

Advanced signet ring: the same face, plus a lateral profile that shapes the sides and an optional wedge cut at the bottom of the band.

PropertyType
BottomCutAngledoublegettotal opening of the bottom wedge cut, degrees; 0 = no cut
FaceISignetFaceget
IdGuidget(from IParametricObject)
LateralProfileNamestringgetasset shaping the sides, "" when unset
LayerNamestringget(from IParametricObject)
MotherGemIdGuidget(from IParametricObject)
ObjectTypestringget(from IParametricObject)
PositionPoint3dget(from IParametricObject)
RingDiameterMmdoubleget
RingSizeLabelstringget
RingSizeRegionstringget
Method
void Delete()(from IParametricObject)
void Move(Vector3d translation)(from IParametricObject)
void SetBottomCutAngle(double degrees)0 disables the cut
void SetElement(string element)Applies a saved AdvancedSignetRing element (ElementsApi.List(“AdvancedSignetRing”)) to this ring: its parameters replace the current ones, the ring size stays, and the ring regenerates in place (same id).
void SetLateralProfile(string assetName)

ISignetFace

Section.

The signet face and the band under it — shared by the classic signet and the advanced one. A live view over the ring’s stored parameters: getters read the current values, setters regenerate the ring in place (same Guid) and are license-gated.

PropertyType
Heightdoublegetface height, mm
HeightBottomProfiledoublegetmm
HeightMiddleProfiledoublegetmm
HeightPositiondoublegethow high the face sits over the finger, mm
InnerHeightdoublegetmm — used when Recess is on
ProfileNamestringgetRING_PROFILE asset name, "" when unset
Recessboolgethollow the back of the face
Rotationdoublegetdegrees
ShapeModestringget”Circle” or “Custom”
Tangentdoubleget
Thicknessdoublegetmm — used when Recess is on
Widthdoublegetface width, mm
WidthBottomProfiledoublegetband section at the bottom, mm
WidthMiddleProfiledoublegetband section at the middle, mm
Method
void SetBottomProfile(double width, double height)
void SetHeight(double height)
void SetHeightPosition(double position)
void SetInnerHeight(double height)
void SetMiddleProfile(double width, double height)
void SetProfile(string assetName)RING_PROFILE asset by name — list them with AssetsApi.List(“RING_PROFILE”)
void SetRecess(bool recess)
void SetRotation(double degrees)
void SetShapeMode(string shapeMode)”Circle” or “Custom”
void SetTangent(double tangent)
void SetThickness(double thickness)
void SetWidth(double width)