Skip to content

Scripting API

API Reference

The Scripting API lives in the ArtisanPlugin.Scripting namespace. Facades are grouped by what they work on:

Everything at a glance

The complete exported surface, one row per facade. Bold methods modify the document.

FacadeMethods
GemApiShapes, Materials, All, Find, Count, Selected, ByLayer, ByMaterial, Collisions, Create
IGem handleId, Shape, Material, CaratWeight, SizeX/Y/Z, Position, Plane, LayerName · SetMaterial, SetCaratWeight, SetSize, Scale, Move, SetPlane, Rotate, Flip, Copy, Delete, Select
CutterApiAll, Find, Count, Selected, ByLayer, ForGem, Create
BooleanApiUnion, Difference, Intersection, Split
BezelApiAll, Find, Count, Selected, ByLayer, ForGem, Create · handle: SetHeight, SetWidth, SetGirdleHeight, SetGirdleWidth, SetGemInside
PegheadApiAll, Find, Count, Selected, ByLayer, ForGem, Create · handle: SetProngs, SetHeight, SetThickness, SetGirdleWidth, SetOverGirdleHeight, SetGemInside
BasketApiAll, Find, Count, Selected, ByLayer, ByGemMaterial, ForGem, Create · handle: SetProngCount, SetProngDiameter, SetProngHeight
HaloApiAll, Find, Count, Selected, ByLayer, ForGem, Create · handle: SetStoneSize, SetStoneDistance
ClassicApiAll, Find, Count, Selected, ByLayer, Create · handle: SetWidth, SetHeight + full section views (TopProfile, MidProfile, BottomProfile, ExternalProfile, Advanced, Gems)
CathedralApiAll, Find, Count, Selected, ByLayer, Create · handle: SetTopWidth, SetTopHeight, SetBottomWidth, SetBottomHeight + section views (Shank, Gems)
EternityApiAll, Find, Count, Selected, ByLayer, Create · handle: section views (Gems, Prongs, Bezels, Shank)
AdvancedCathedralApi, BypassApi, SplitShankApi, GraduatedApi, PaveShankApi, TwoRowsShankApi, MatchingShankApi, SignetRingApi, AdvancedSignetRingApi, WeddingApi, WeddingBandApiAll, Find, Count, Selected, ByLayer (+ForRing on MatchingShank) · fully editable handles — see Handles
GemsOnCurveApiAll, Find, Count, Selected, ByLayer, ForCurve, Create
GemsByNetworkApiAll, Find, Count, Selected, ByLayer, ForCurve
ClusterApiAll, Find, Count, Selected, ByLayer, ForGem, Create
HiddenHaloApi, TulipApi, MartiniApi, TrellisGemsetApiAll, Find, Count, Selected, ByLayer, ForGem, Create · handles with 2 parametric setters each
AdvancedBezelApi, CabochonApi, PearlApiAll, Find, Count, Selected, ByLayer (+ForGem on AdvancedBezel), Create
AdvancedBasketApiAll, Find, Count, Selected, ByLayer, ForGem, Create · handle: SetProngCount, SetProngDiameter, SetProngHeight, SetRailCount
GemToolsApiCenters, AddCenterPoints, CenterBetweenGems, CurveFromGems, ExtractGemCurves, OffsetGemCurves, CopyByGems, ColorBySize, RotateGems, AlignGems, AddTags, RecoverGems
MicroSettingApiAll, Find, Count, Selected, ByLayer, Create
ChannelApiCreate
PaveApiOnSurface
ToiEtMoiApiCreate
RingCurveApiCreateClosed, CreateOpen, CreateBypass, CreateShape
TextOnCurveApiCreate
RasterToVectorApiCreate
AssetsApiTypes, List, GetDefault
BailApi, BangleApi, BeadApi, CharmApi, LinkApi, NamedPendantApi, HingeApi, MilgrainApi, RopeApi, VoronoiApi, HoneyCombApi, Texture3DApi, ChainApi, HuggieApi, PatternApi, ProfileSweepApi, EngravingApiCreate (one per component)
UserElementApiList, Create
DocumentApiGetComputationMode, GetMetals, GetRingSize, RingSizeRegions, GetPath, IsModified, ReportPdf, Glb, Stl, SetComputationMode, SetMetal, SetRingSize, SetRingSizeByDiameter, Open, Save, New
ViewApiDescribe, SetCamera, RestoreNamedView, SetDisplayMode, ZoomExtents, SaveNamedView, ImportNamedViews, Capture
TransformApiScaleByWeight, ScaleToDimensions, CopyOnObjects, MoveOnObjects, MoveByNormal, MirrorQuad, MirrorOpposite, Bend, Twist, Taper
ReliefApiGetProject, Operations, ProfileNames, ExportHeightmap, CreateFromImage, CreateFromCurves, CreateFromGeometry, SetupProject, AddProfile, AddExtrude, AddImage, AddTexture, AddGeometry, AddSculpt, AddSmooth, SetOperationEnabled, SetOperationCombine, MoveOperation, RemoveOperation, ClearProject, Bake
MeshApiDecimate, DecimateToTolerance
AnalyzeApiThicknessAt, ThicknessAtPoints, GlobalThickness
WeightApiMetals, Calculate, CalculateForObjects, CalculateForSelection, CalculateByArea, CalculateSelectionByArea
DraftingApiReportTemplates, ExportGemsList, CreateReport, CreateReportFromTemplate, CreateGemsMap, CreateGemsTable, CreateMetalsTable, CreateBreakdownTable, GenerateDimensions, GenerateDimensionsFromRing, GenerateDimensionsByBox, GenerateDimensionsFromBangle
ManufacturingApiAutomaticRepair, AddIdentifier, SprueSingle, SprueInnerTree, SprueInnerBranches, SprueExternalTree, SprueMultipleCopies, SprueCurve, SprueExternalFrames, SprueTree, SprueClusterTree, SprueHelix, SprueSpiral, ResizeRing, QuickCheck
PricingApiCalculate, CalculateDetailed, GetSettingsJson, ShowPanel, SetSetting
RenderApiShowRealtimeRender, UpdateRender, SetViewerCameraPreset, SetViewerCamera, ViewerZoomExtents, GetViewerItems, SetViewerMaterial, ViewerScreenshot, CreatePair, LieOnGround, ApplyDesignMaterials, ApplyRenderMaterials, BatchRender
RenderStudioApiListEnvironments, ListMaterialFamilies, ListMaterials, ApplyEnvironment, ApplyMaterial, RenderStill, RenderTurntable
NivodaApiSearch, ClearCache
FileSearchApiSearch, Count, Reindex
SemanticsApiDescribeDocument
TransactionBegin