C# Class Revit.SDK.Samples.WindowWizard.CS.ValidateWindowParameter

class is used to validate window parameters
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Свойство Type Description
IsMetric bool

Méthodes publiques

Méthode Description
IsDouble ( string value, double &result ) : string

This method is used to check whether a value string is double type

IsHeightInRange ( double value ) : string

This method is used to check whether the height value is out of range

IsInsetInRange ( double value ) : string

This method is used to check whether the inset value is out of range

IsSillHeightInRange ( double value ) : string

This method is used to check whether the sillheight value is out of range

IsWidthInRange ( double value ) : string

This method is used to check whether the width value is out of range

ValidateWindowParameter ( double wallHeight, double wallWidth ) : System

constructor of ValidateWindowParameter

Method Details

IsDouble() public méthode

This method is used to check whether a value string is double type
public IsDouble ( string value, double &result ) : string
value string >the string value
result double the double result
Résultat string

IsHeightInRange() public méthode

This method is used to check whether the height value is out of range
public IsHeightInRange ( double value ) : string
value double the string value
Résultat string

IsInsetInRange() public méthode

This method is used to check whether the inset value is out of range
public IsInsetInRange ( double value ) : string
value double the string value
Résultat string

IsSillHeightInRange() public méthode

This method is used to check whether the sillheight value is out of range
public IsSillHeightInRange ( double value ) : string
value double the string value
Résultat string

IsWidthInRange() public méthode

This method is used to check whether the width value is out of range
public IsWidthInRange ( double value ) : string
value double the string value
Résultat string

ValidateWindowParameter() public méthode

constructor of ValidateWindowParameter
public ValidateWindowParameter ( double wallHeight, double wallWidth ) : System
wallHeight double wall height parameter
wallWidth double wall width parameter
Résultat System

Property Details

IsMetric public_oe property

indicate the template file is metric or not
public bool IsMetric
Résultat bool