Skip to main content
sept. 5, 2017 8:29 PM UTC
Répondu

OVERALL_SIZE as a Dynamic Parameter

Hello All,

I have a highly configurable model that I want to export into a drawing and I need that drawing to scale according to the overall size of the configured model. Is there anyway this would be possible? Preferably, I would like to have the size set into three parameters:

SIZE_X

SIZE_Y

SIZE_Z

 

I have tried the model check approach and I am not getting the result I need. When a model regenerates, I need the drawing to scale automatically.

 

I have tried editing the ModelCheck Paramters in .mcs, .mc, .mch. Is there any functionallity that will allow me to access the OVERALL_SIZE attribute and use it as a dynamic parameter?

 

Thanks,

    Jon

TomURéponse
sept. 7, 2017 1:32 PM UTC

It's been awhile since I looked into this but from what I remember there is no way in Creo to natively access the model sizes as parameters.  ModelCheck can be run and used to populate parameters or a custom J-Link or Toolkit program could also be written to access these values, but nothing out-of-the-box in Creo itself.

 

The only other thing you might be able to do is create multiple analysis features that measure from some type of shrinkwrap feature out to planes created a certain distance from the origin and then do the math.  (This would be much simpler if one could just measure to the solid geometry.)

8 commentaires

sept. 5, 2017 9:19 PM UTC

Take a look at the model parameter DRAWING_SCALE_FACTOR.  It will automatically resize your drawing views based on whatever you set it too.  It's very easy to create some model level relations to drive this as you see fit.  (You will need to know the size of the model, but this should be pretty straight forward if you've constructed it.)

pmajorAuteur
sept. 5, 2017 9:52 PM UTC

The model is a system of thousands of parts, calculating the overall size would be highly complex and very hard to be accurate. I understand the scale factor completely, I just don't have the numbers available. 

 

For a better mental picture, imagine contructing a lego set in creo, where there are an infinite amount of combinations of hundreds of pieces. Contructing a code that will measure the Overall Length, Width and Height would be nearly impossible. Is there no functionallity that allows a user to access the OVERALL_SIZE function in ModelCheck?

 

The information in Model Check proves that the program is completely capable of calculating the size of a model. Why is that not accessable to a user to use as a parameter?

 

If there is a way, would you please let me know how to access it.

 

Thanks,

   Jon

TomURéponse
sept. 7, 2017 1:32 PM UTC

It's been awhile since I looked into this but from what I remember there is no way in Creo to natively access the model sizes as parameters.  ModelCheck can be run and used to populate parameters or a custom J-Link or Toolkit program could also be written to access these values, but nothing out-of-the-box in Creo itself.

 

The only other thing you might be able to do is create multiple analysis features that measure from some type of shrinkwrap feature out to planes created a certain distance from the origin and then do the math.  (This would be much simpler if one could just measure to the solid geometry.)