Skip to main content
9-Granite
June 19, 2017
Question

How to extract model size(width, length, height) to parameter?

  • June 19, 2017
  • 3 replies
  • 6008 views

Hi evertyone.

 

I have a quetion.

My question is how to extract model sizeI(W,L,H) to parameter.

I can see overral model length through model size function in investigate tap.

But I want to know W,H,L dimension of model(Part or Assembly)

How to do?

Please let me know good technique.

 

Thanks~~~~

3 replies

17-Peridot
June 19, 2017

Please refer to technical article https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS29792 for detail

yseo9-GraniteAuthor
9-Granite
June 19, 2017

Is there another method not to use model check?

1-Visitor
June 20, 2017

Have a look: https://www.ptcusercommunity.com/search.jspa?q=model+size+parameter

The Ideas seem limited, they should be functions:

Solid_Max_X(csysname),

Solid_Min_X(csysname),

Solid_Max_Y(csysname),

...

Geom_Max_X(csysname),

...

Datum_Max_X(csysname),

...

Where Solid applies to solids, Geom applies to solids or surfaces, and Datum applies to curves and points.

It may be worthwhile to have functions for Cylindrical coordinates or for Spherical coordinates.

Extra work may see value in generating L, H, and W values that are unaligned with any coordinate system and the related transform from some given coordinate system, but this is not a trivial thing to do because the basis is not singular - should the volume be the smallest volume? Should it minimize W, then H, before determining L? Should it maximize L first and then H, then W?