2027 Method
Changes 0
M

ConceptualConstructionType.IsValidConceptualConstructionIdForCategory

Description:
Indicate if a ConceptualConstruction is appropriate to assign to a MassSurfaceData of a particular Mass subcategory.
public static bool IsValidConceptualConstructionIdForCategory(
	Document ccda,
	ElementId constructionTypeId,
	ElementId massSubcategoryId
)
  • ccda
    The document.
  • constructionTypeId
    The ElementId of the ConceptualConstructionType.
  • massSubcategoryId
    The ElementId of the Mass subcategory.
Return Value Boolean Returns true if valid, false otherwise
  • The ElementId constructionTypeId is not an id of a ConceptualConstructionType. -or- The mass sub-category is none of the OST_MassInteriorWall, OST_MassExteriorWall, OST_MassExteriorWallUnderground, OST_MassWallsAll, OST_MassRoof, OST_MassFloor, OST_MassSlab, OST_MassFloorsAll, OST_MassShade, OST_MassGlazing, OST_MassSkylights, OST_MassGlazingAll or OST_MassOpening.
  • A non-optional argument was null