Skip to content

.NET API

ChainApi

Repeat link objects along a curve (the ArtisanChain tool).

from ArtisanPlugin.Scripting import ChainApi

See also the guide, Accessories › Chain, and the Python package, ra.chain.

Methods

Method
CreatePlaces copies transformed copies of the given objects along the curve (alternating odd/even rotations are the tool’s advanced options and keep their saved defaults).

Create

IReadOnlyList<Guid> ChainApi.Create(
    IEnumerable<Guid> objectIds,
    Guid curveId,
    int copies = 0)

Places copies transformed copies of the given objects along the curve (alternating odd/even rotations are the tool’s advanced options and keep their saved defaults). Returns the ids of the copies.

ParameterTypeDefault
objectIdsIEnumerable<Guid>required
curveIdGuidrequired
copiesint0

Returns IReadOnlyList<Guid>.