Transfer Type parameter to instance parameter


#1

How do I transfer eg type comments to comments?


#2

Get the GetTypeParameter.FrmFamilyInstance node from the package manager:

del me


#3

When I do that I get this error.

error


#4

Hi Nicolas,

Try connecting a ‘Watch’ node to t he end of ‘Select Model Elements’, ‘GetTypeParameter’ and ‘Elements.SetParameter’ node to see what the data structure is like. Because if the data is not structured correctly it will cause an error.


#5

Looks Mike Type Comments and Comments are not oft same type


#6

Try this

3-5-2015 3-49-26 PM


#7

I can get it to work with furniture but not with walls. do not work Works


#8

Hi Nicklas,

You’ve stumbled in one of Revit API’s idiosyncrasies - walls are system families and while standard families(furniture, casing, windows, doors, etc.) have types( also called FamilySymbol in the API and in Dynamo), walls and other system families have their own special type, in that case WallTypes. You can query them like so:

2015-03-05_173119

 

We’ve discussed this a bit more previously in here:

http://dynamobim.com/forums/topic/7-5-symbol-warning/

I’d try Wy Hou’s suggestion and use the Element.Type from the clockwork package.


#9

Super. That worked just fine.