How can I use SUEntitiesTransform function?

sdkapic
sdk
api
entities
transform

#1

Hi, is there any example of SUEntitiesTransform function?


#2

Did you check the examples that came with the SDK package ?

Also the Ruby API doc examples may help a bit:


#3

Also, the Ruby API equivalent method for that C function is:


#4

This example works for me - it’s a slightly modified code copied from the Quick Start examples.


#5

I find it interesting that the function takes an array of SUEntityRef objects. I would have expected it to take only SUDrawingElementRef objects.

I’m glad I discovered this, though, it means that entities can be manipulated in the C API.


#6

I suppose this to allow things like a Vertex which is not a DrawingElement but is transformable.