The geometry support for reinforcement creation on beam. It can prepare the geometry information for top rebar, bottom and transverse rebar creation
Наследование: GeometrySupport
Пример #1
0
        RebarBarType m_transverseType = null; //type of the transverse rebar

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Constructor of the BeamFramReinMaker
        /// </summary>
        /// <param name="commandData">the ExternalCommandData reference</param>
        /// <param name="hostObject">the host beam</param>
        public BeamFramReinMaker(ExternalCommandData commandData, FamilyInstance hostObject)
            : base(commandData, hostObject)
        {
            //create new options for current project
             Options geoOptions = commandData.Application.Application.Create.NewGeometryOptions();
             geoOptions.ComputeReferences = true;

             //create a BeamGeometrySupport instance.
             m_geometry = new BeamGeometrySupport(hostObject, geoOptions);
        }
Пример #2
0
        /// <summary>
        /// Constructor of the BeamFramReinMaker
        /// </summary>
        /// <param name="commandData">the ExternalCommandData reference</param>
        /// <param name="hostObject">the host beam</param>
        public BeamFramReinMaker(ExternalCommandData commandData, FamilyInstance hostObject)
            : base(commandData, hostObject)
        {
            //create new options for current project
            Options geoOptions = commandData.Application.Application.Create.NewGeometryOptions();

            geoOptions.ComputeReferences = true;

            //create a BeamGeometrySupport instance.
            m_geometry = new BeamGeometrySupport(hostObject, geoOptions);
        }