StructuralSettings.SetValuesForLoadsDisplayScaling
Method
Description:
Sets values for loads display scaling by providing two load forces and their corresponding length of the representative lines in internal units.
Sets values for loads display scaling by providing two load forces and their corresponding length of the representative lines in internal units.
Remarks:
Use UnitUtils class methods to convert value from or to internal units. The values are used to scale the representation of all load types(point, line and area loads).
Use UnitUtils class methods to convert value from or to internal units. The values are used to scale the representation of all load types(point, line and area loads).
Syntax
public void SetValuesForLoadsDisplayScaling(
double minimumLoadValue,
double minimumForceLineLength,
double maximumLoadValue,
double maximumForceLineLength
)
Parameters
Parameter | Type | Description |
---|---|---|
minimumLoadValue | Double | The minimum force in SpecTypeId.Force units. |
minimumForceLineLength | Double | The line length for minimum force. |
maximumLoadValue | Double | The maximum force in SpecTypeId.Force units. |
maximumForceLineLength | Double | The line length for maximum force. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentsInconsistentException | Thrown when: - forces are negative. - line lengths are negative. - minimum force is greater or equal to the maximum force. - line length for minimum force is greater than line length for maximum force. |