Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

Extracting Dimensions and Tolerances

Hacks

New member
Guru's



Is anyone aware of a way to extract all the dimensions and tolerances from a model or at least the dimensions and tolerances that are shown on a drawing?



It would seem to me that a Toolkit application would be required to do this, if it could be done.



Thanks,

Brad Hacker

ME CAD Admin

Zebra Tecnologies Corp.
 

dhbigelow

New member
Yes - a toolkit application is required to extract this kind of thing.



The p-Shell API can do this in no time. to get all the of the dimensions you just need to query them in each model.



foreach dimObj [ps_dim model] {

puts Dim: [$dimObj cget -symbol] - Value: [$dimObj cget -value]

}



A few more lines of code and you can determine if they are shown on a drawing and even send them directly to MS-Excel. ;)



http://www.buydesignautomation.com



Cheers!



Dave
 

Sponsor

Top