Handling fractional dimensions within a script.

Handling fractional dimensions within a script.

macmanpb
Collaborator Collaborator
338 Views
1 Reply
Message 1 of 2

Handling fractional dimensions within a script.

macmanpb
Collaborator
Collaborator

What is the best way to get a decimal from a fractional dimension.

In the design the dim is entered like >>3"/15<<. Is FusionUnitsManager the key or have i do something more to convert them back and forth?

0 Likes
Accepted solutions (1)
339 Views
1 Reply
Reply (1)
Message 2 of 2

MichaelT_123
Advisor
Advisor
Accepted solution

Hi Mr. MacManPB,

 

Internally dimensions of length are represented as a value of centimeters and handled via a structure called  Parameter Object

Thus,

- parameter. value stores ... well length value

parameter. unit stores ... well, instruction haw the value is presented via an interface.

   Changing it will result in the appropriate display outcome.

- parameter.expression is ... the third leg complementing the schema.

 

Regards

MichaelT 

 

MichaelT