Switch From Imperial To Metric

Switch From Imperial To Metric

christianbaileypaulsen1
Advocate Advocate
584 Views
6 Replies
Message 1 of 7

Switch From Imperial To Metric

christianbaileypaulsen1
Advocate
Advocate

I have a block that displays the X and Y coordinates of itself, and also populates a data extraction with those X and Y coordinates. Id like to be able to switch it from imperial to metric using maybe a lookup table or a visibility state. Please let me know if you can think of a solution. Thank you so much.

0 Likes
585 Views
6 Replies
Replies (6)
Message 2 of 7

h_s_walker
Mentor
Mentor

Here you go.

 

It's got 2 visibility states. Imperial and Metric

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 7

christianbaileypaulsen1
Advocate
Advocate

That works fine but how did you do it? I see you used formula but im not really sure how it works. Could you explain what formula you used to get this?

0 Likes
Message 4 of 7

Also for some reason your blocks metric attribute do not work in a data extraction. Any clue why?

0 Likes
Message 5 of 7

And can we please do cm instead of mm? I cant figure out how to edit you formula. So if you could post the new block id really appreciate it.

0 Likes
Message 6 of 7

h_s_walker
Mentor
Mentor

See the attached Screencast. I put in 25.4 because that's how many millimetres are in an inch. If your drawing was metric I would have put 10/254, which is the same as 1/25.4 (LT can't do fractional calculations)

 

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 7 of 7

h_s_walker
Mentor
Mentor

Watch the screencast I've just posted and instead of putting 25.4 put 2.54

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes