Revit.SDK.Samples.Reinforcement.CS.BeamFramReinMaker.BeamFramReinMaker C# (CSharp) Méthode

BeamFramReinMaker() public méthode

Constructor of the BeamFramReinMaker
public BeamFramReinMaker ( ExternalCommandData commandData, FamilyInstance hostObject ) : System
commandData ExternalCommandData the ExternalCommandData reference
hostObject FamilyInstance the host beam
Résultat System
        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);
        }