RebarBarType m_verticalType = null; //type of the vertical rebar #endregion Fields #region Constructors /// <summary> /// Constructor of the ColumnFramReinMaker /// </summary> /// <param name="commandData">the ExternalCommandData reference</param> /// <param name="hostObject">the host column</param> public ColumnFramReinMaker(ExternalCommandData commandData, FamilyInstance hostObject) : base(commandData, hostObject) { //create a new options for current project Options geoOptions = commandData.Application.Application.Create.NewGeometryOptions(); geoOptions.ComputeReferences = true; //create a ColumnGeometrySupport instance m_geometry = new ColumnGeometrySupport(hostObject, geoOptions); }
/// <summary> /// Constructor of the ColumnFramReinMaker /// </summary> /// <param name="commandData">the ExternalCommandData reference</param> /// <param name="hostObject">the host column</param> public ColumnFramReinMaker(ExternalCommandData commandData, FamilyInstance hostObject) : base(commandData, hostObject) { //create a new options for current project Options geoOptions = commandData.Application.Application.Create.NewGeometryOptions(); geoOptions.ComputeReferences = true; //create a ColumnGeometrySupport instance m_geometry = new ColumnGeometrySupport(hostObject, geoOptions); }