question

Joerg Vogel avatar image
0 Likes"
Joerg Vogel asked Matthew Gillespie answered

Copy spatial attributes of an object to the shape offsets?

If I try to copy the spatial attributes of an item to a shape of drawsurrogate object I have to set the offsets for the location, rotation and size in each direction individually. I am looking for a method like setSize which accepts the class Vec3 as an input.

FlexSim 17.1.4
shapevec3shape factorsoffsets
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

We don't currently have a method for setting an object's offsets. You could write a user command to do that and then just call the user command.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.