Thursday 6 March 2014

Addin's Down Under

I have been having a play with the DP-Randomizer addin for a while now and when you are using some of the Addin’s that have been developed in America, because they work in Imperial the units are hard coded into the API. The result is that when we are using them in the southern hemisphere (metric) you get some crazy results and it isn’t enough to just change the units in our project/family.

To get the Addin’s to work properly, a simple conversion parameter formula is required, to get the units set correctly.

A couple of the Addin’s that require this conversion formula are the ‘DP Randomiser’ and the ‘Set Parameter Values from Image Data’

The example below is for setting a height, but this can be adapted for other parameters.

Because the Addin’s are imperial and set in feet, we need to create a parameter that divides the height by 304.8

1 foot = 304.8 millimetres

The ‘Actual Height’ parameter controls the family and the ‘Height’ parameter is controlled by the Addin.


No comments:

Post a Comment