What is the problem that needs solving?
I'm trying to make referenceplanes in a mass family using ReferencePlanes.ByLine
but doc.Create only works for revit projects.
How would you like to see it solved?
Add an if-else or something to check if the active document is a project or a family and use doc.Create or doc.FamilyCreate respectively.
Describe alternatives you've considered
none
Additional context
(Please fill in if applicable. Add any other context or screenshots about the feature request here.)
What is the problem that needs solving? I'm trying to make referenceplanes in a mass family using ReferencePlanes.ByLine but doc.Create only works for revit projects.
How would you like to see it solved? Add an if-else or something to check if the active document is a project or a family and use doc.Create or doc.FamilyCreate respectively.
Describe alternatives you've considered none
Additional context (Please fill in if applicable. Add any other context or screenshots about the feature request here.)