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); }