johnpierson / RhythmForDynamo

A collection of nodes for use in Dynamo with Revit.
BSD 3-Clause "New" or "Revised" License
108 stars 25 forks source link

ReferencePlanes in Mass Family #40

Closed timhevel closed 2 years ago

timhevel commented 2 years ago

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.)

johnpierson commented 2 years ago

Great suggestion! This was an easy add so I knocked it out really quick.

In action here: 20220107-createRefPlane

and it is in the latest release on the package manager: v 2022.1.1

timhevel commented 2 years ago