How to detect if family is line based in family document?
Solved! Go to Solution.
Solved by frankholidayjunior. Go to Solution.
switch (famdoc.OwnerFamily.FamilyPlacementType)
{
case FamilyPlacementType.Adaptive:
return false;
case FamilyPlacementType.CurveBased:
return false;
case FamilyPlacementType.WorkPlaneBased:
return false;
default:
return true;
}
how about in project document? i want to place instance so FamilyHostingBehavior (BuiltInParameter.FAMILY_HOSTING_BEHAVIOR) is not enough, so how to get FamilyPlacementType at project document w/ only family types available?