Scripting API
IAdvancedBasket
Returned by AdvancedBasketApi — the advanced basket on one mother gem. Unlike the basic basket, it stores one entry per prong/rail, each with its own settings. Adds to IGemSetting:
| Member | Meaning |
|---|---|
ProngCount | Number of prongs |
RailCount | Number of rails |
ProngHeight | First prong’s height, mm |
ProngDiameter | First prong’s diameter, mm |
SetProngCount(prongs) | Rebuild the prong set evenly spaced, cloning the first existing prong’s settings (tool defaults when empty) |
SetRailCount(rails) | Rebuild the rail set the same way |
RailMode | The rails’ section: "ROUND", "SQUARE" or "CUSTOM" when every rail shares it, "MIXED" when they differ, "" with no rails |
SetRailMode(mode) | Applies to every rail |
RailGems | The stones on the rails’ outer face, between the prongs: an ICathedralGems with the rules of the rail gems of the basket. The getters report the first rail’s; every setter applies to every rail. A bent rail takes none: enabling them on it throws. For one rail alone use SetParameter("rails[1].gems.enable", "true") |
SetProngDiameter(diameter) | Applies to every prong, mm |
SetProngHeight(height) | Applies to every prong, mm |