Hi all,
As the subject says, I'm looking for a way to have part of the script run only when the object is placed. If it is edited, moved, rotated etc that section should not run again. I thought I saw something like this a long time ago in regards to a rock object that generated a random shape and some wanted it to only generate the shape when first placed. I can't remember the outcome tho.
The object I'm creating is a label. I want it to rotate to the view orientation so that when placed it appears horizontal. However, from there it needs to be able to be rotated and stay on that angle. I could make it so that if it has a rotation value it doesn't run the view orientation rotation. But that would mean if it is left horizontal it will rotate with the view orientation. Not the end of the world but it would be nice to have it consistent across the board.
Thanks in advance for any suggestions.
Lachlan Green | Wilson Architects | BIM Manager, Architect
Started on AC9 | Currently AC27 & AC28 | BIMCloud | GDL
Mac Studio (14,13) M2 Max, 64GB, 1TB SSD | MacOS 14.7