Description:
Sets the detail viewport's projection so geometry is displayed at a certain scale.
Syntax:
public bool SetScale(
double modelLength,
UnitSystem modelUnits,
double pageLength,
UnitSystem pageUnits
)
double modelLength,
UnitSystem modelUnits,
double pageLength,
UnitSystem pageUnits
)
Parameters:
- modelLength
- Type: double
- Reference model length.
- modelUnits
- Type: Rhino.UnitSystem
- Units for model length.
- pageLength
- Type: double
- Length on page that the modelLength should equal.
- pageUnits
- Type: Rhino.UnitSystem
- Units for page length.
Returns:
Type: bool
True on success. False if the DetailView projection is perspective or input values are incongruous.
Available since:
5.0