DynamoVisualProgramming.DynamoServices by Autodesk

<PackageReference Include="DynamoVisualProgramming.DynamoServices" Version="3.3.0-beta5206" />

 IRenderInstancedLabels

public interface IRenderInstancedLabels
Internal interface to enable adding labels that are related to an instanceableGraphicItem.
void AddInstancedLabel(string label, VertexType vertexType, int vertIndex, int instanceIndex, Guid BaseTessellationId)

Adds a label to the render package, but first transforms the label by the transform matrix of the relevant graphicItem.

int InstanceCount(Guid baseTessellationID)

Number of instances for a particular baseTessellation type(cuboid, sphere etc)