Batch rescale files to system unit scale.

Batch rescale files to system unit scale.

theoG7GJE
Participant Participant
341 Views
0 Replies
Message 1 of 1

Batch rescale files to system unit scale.

theoG7GJE
Participant
Participant

A lot of objects in an asset library have got mixed unit measurements and it means when loading the file that "File Load: Units Mismatch" pops up.

 

Clicking "Rescale the File Objects to the System Unit Scale?" option remedies the problem so that everything returns to use Centimeters. The problem is, there are loads of files and I don't know which ones are problematic. They also dont all just scale from one unit to another, it seems some may be millimeters, some meters & I'm not sure if there are some random feet&inches thrown in.

 

What would the script be to make sure each asset is opened and checked to be using cm both as display and system while making sure it is scaled correctly also.

 

units.SystemType = #Centimeters
units.displaytype = #Metric
units.MetricType = #Centimeters

 

Just running this changes all the units but obviously the object then either becomes huge or very small.

 

 

0 Likes
342 Views
0 Replies
Replies (0)