HyperSizer Support Forum

Software Use => Scripting => Topic started by: Ruben on November 12, 2019, 06:02:45 AM

Title: Max and Min sizing
Post by: Ruben 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
Title: Re: Max and Min sizing
Post by: Brent 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