Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to detect if family is line based in family document?
Solved! Go to Solution.
How to detect if family is line based in family document?
Solved! 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?