public OneFileAllExistingParameters(ParameterJerkerHubCentral jerkerHub) : base(jerkerHub) { if (AllParamData != null && AllParamData.Any()) { string dog = AllParamData[0].ParameterDefinitionName; } }
public ClassOneParamAssociation(ExternalDefinition externDef, ParameterJerkerHubCentral jerkerHub) : base(jerkerHub) { this.JerkHub = jerkerHub; _thisExternalDefinition = externDef; _paramName = externDef.Name; _parameterGroup = externDef.OwnerGroup.Name; _groupParameterUnderEnumAsString = Autodesk.Revit.DB.LabelUtils.GetLabelFor(BuiltInParameterGroup.PG_ANALYSIS_RESULTS); // ptr2TargetDoc = doc }
public ClassFileSupplemental(ParameterJerkerHubCentral jerkHub) : base(jerkHub) { _rawfileData = new List <string>(); this.ConstructFileName(); if (DataFileExists) { this.ReadSupplementalDataFile(); this.HarvestSupplementalFileData(); } }
public Autodesk.Revit.UI.Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { try { RevitStuff revitStuff = new RevitStuff(commandData); ClassDebug Ptr2Debug = new ClassDebug(); ParameterJerkerHubCentral jerkHub = new ParameterJerkerHubCentral(revitStuff, Ptr2Debug); jerkHub.Ptr2Form.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } return(Result.Succeeded); }
public ClassSharedParametersFile(ParameterJerkerHubCentral jerkHub) : base(jerkHub) { // , Optional overideSharedParametersFileNameLong As String = Nothing) jerkHub.Flags.StageOkForJerking = true; UsersSharedParameterFileNameLong = jerkHub.RevitInterface.Doc.Application.SharedParametersFilename; FileInfo info = new FileInfo(UsersSharedParameterFileNameLong); if (info != null) { UsersSharedParameterDirectory = info.DirectoryName; } // Else // usersSharedParameterFileNameLong = overideSharedParametersFileNameLong // End If // jerkHub.ptr2Form.LabelCurrentSharedParametersFile.Text = usersSharedParameterFileNameLong this.verifyThatShareParameterFileExists(); JerkHub.Ptr2Debug.AddToDebug(("usersSharedParameterFileNameLong: " + UsersSharedParameterFileNameLong)); // getParameterJerkSharedParametersFile() // If stageOkForSetup Then // parameterJerkSharedParameterFileObj = ptr2Doc.Application.OpenSharedParameterFile // End If }
public ClassallSetsObj(ParameterJerkerHubCentral jerkHub) : base(jerkHub) { AllSetListAMasterForEdit = new List <ClassOneSet>(); allSetListBForShortCuts = new List <ClassOneSet>(); }
public OneParamData(FamilyParameter familyParameter, ParameterJerkerHubCentral jerkHub) : base(jerkHub) { this.FamilyParameter = familyParameter; CurrentParameterGroup = familyParameter.Definition.ParameterGroup; }
public ClassOneSet(string nameOfNewSet, ParameterJerkerHubCentral jerkHub) : base(jerkHub) { this.SetName = nameOfNewSet; }
public GroupParameterUnderManager(ParameterJerkerHubCentral jerkHub) : base(jerkHub) { this.InitParameterList(); this.BuildLabelList(); GroupParameterUnderlabelList.Sort(); }