C# Class Revit.SDK.Samples.DoorSwing.CS.DoorSharedParameters

Static class used to add project shared parameters.
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
AddSharedParameters ( UIApplication app ) : void

Add shared parameters needed in this sample. parameter 1: one string parameter named as "BasalOpening" which is used for customization of door opening for each country. parameter 2: one string parameter named as "InstanceOpening" to indicate the door's opening value. parameter 3: one YESNO parameter named as "Internal Door" to flag the door is internal door or not.

Private Methods

Method Description
AccessOrCreateSharedParameterFile ( Application app ) : DefinitionFile

Access an existing or create a new shared parameters file.

AlreadyAddedSharedParameter ( Document doc, string paraName, BuiltInCategory boundCategory ) : bool

Has the specific document shared parameter already been added ago?

Method Details

AddSharedParameters() public static method

Add shared parameters needed in this sample. parameter 1: one string parameter named as "BasalOpening" which is used for customization of door opening for each country. parameter 2: one string parameter named as "InstanceOpening" to indicate the door's opening value. parameter 3: one YESNO parameter named as "Internal Door" to flag the door is internal door or not.
public static AddSharedParameters ( UIApplication app ) : void
app UIApplication Revit application.
return void