New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with placing family instance of Windows or Doors #2197
Comments
Comment by mjkkirschner I'm not 100% on this, but I believe you can't create windows without being associated with a wall to place them in, and I don't think there are any built in nodes that deal with window placement, I wrote a python node that will do it a while ago, I can post it on the package manager soon, but I would search there first to see if someone else has posted a window node. |
Comment by michaelbergin Its the general family instance creation node, generic elements are inserted without problem but windows and doors do not work. There is a wall to place them in at the position indicated. I have checked the package manager and nothing obvious that addresses my issue appears.
|
Comment by mjkkirschner I am having trouble finding the dyn file, but this might help get you started, you need to supply a window family instance, a list of walls, and the revit document node to a python with variable input nodes. Python code below import clr #The input to this node will be stored in the IN0...INX variable(s). locCurve = wall.Location start = locCurve.Curve.get_EndPoint(0) famInst = doc.Create.NewFamilyInstance(location, windowfamily, wall, wall.Level, Autodesk.Revit.DB.Structure.StructuralType.NonStructural); #Assign your output to the OUT variable |
Comment by michaelbergin Finally getting back around to this - thanks very much for the assistance. Noting that this does not remove the window for parametric alterations, Mohammad Asl and I made these modifications.
Still working on a more elegant solution for placing multiple windows and controlling them independently. |
Comment by jhubers Why is there not a solution without scripting to place doors and windows in a wall? Seems to me that this is one of the first things a novice with Dynamo would like to do... In fact one of my students wanted to make a terrace wall with many holes. Dynamo seemed the right tool. But finally had to use the array tool of Revit and do the arithmetic by hand. A missed chance to introduce some students to Dynamo. |
Issue by michaelbergin
Friday Feb 14, 2014 at 22:48 GMT
Originally opened as DynamoDS/Dynamo#1120
Creating a curve-based model, using Wall by Curve to create some walls.
Evaluating those curves to produce an XYZ where I would like to place windows or doors.
Receiving an error with various attempts to make it so :
Family symbol is not valid for this instance. Parameter name: value
Tried moving the point in the Z axis, using Create Family and Create Family by Level, Changing the levels and elevations of levels, rebuilding the entire script...
Version - 0.6.3.22045
https://www.dropbox.com/s/rpojkyrpgkixm5l/dynamo-Outline.dyn
The text was updated successfully, but these errors were encountered: