Gaieus wrote:Is there something that would move the component origins of all components in the model/selection to the world origin?
Yes, I know this would not work with models where there are several instances of the same component so I guess either in this case or just to make it simple and safe, every case all affected components should be made unique.
Also, ideally only top level components should be affected.
Here's a quick script to put into Plugins folder and restart SUp...
TIG (c) 2012
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
###
TIG-originatecomponentsaxes.rb
###
Usage:
Preselect some Component-Instances [other things are ignored].
###
Ruby Console: TIG::originatecomponentsaxes()
Tool Menu: TIG::originate components axes
###
The component definitions are made unique if needed, then adjusted so that
their axes [insertion-point] is at the model-origin and the transformations
of their instances are inverted so the instances do not move...
###
Donations:
By PayPal.com to info @ revitrev.org ###
Version:
1.0 20120228 First Issue.