News: Need training? HyperSizer Training Videos are available now! Learn more here: https://hypersizer.com/trainingevents/e-learning/

Author Topic: Max and Min sizing  (Read 22814 times)

Ruben

  • *
  • Posts: 40
    •  
Max and Min sizing
« on: November 12, 2019, 06:02:45 AM »
Hi,

Is it possible to determine if a concept is max or min sized from the COM interface, without going through each variable, checking if they are max or min.

Regards,
Ruben

Brent

  • Administrator
  • *****
  • Posts: 26
    •  
Re: Max and Min sizing
« Reply #1 on: November 12, 2019, 09:33:17 AM »
Hi Ruben,

From the COM interface, the only way to determine if a component variable for any concept is max/min sized is to query the bounds and dimension results for each variable. Form there you can include logic in your script to detect hitting the max/min bound.

From the sizing form ribbon, you can export a dimension spreadsheet per assembly which will bold a dimension result if it equals a max/min bound. This however is not exposed to the COM interface.

Regards,
Brent