How to delete multiple family parameter from inside the project

dynamo
python
revit

#7

@MJB-online

I got Error message on Beaker Package


Warning: One or more of the input types are not matching. Couldn’t find a version of GetFamilyDocument that takes arguments of type (__array)

and for orchid package:
Warning: Parameter.Delete operation failed.
Please run this command in a family document.


#8

@CVestesen
Thank you. But still too high level for beginners.


#9

@shrawanram,

what you are doing makes no sense. Please notice the input and output ports which data types they need.

One thing I can say for sure is that you cant use my family document nodes inside a project.


#10

@MJB-online

how can the beaker node take elements when it says familytype? this method looks very odd!?

I have a node that takes familyType and open it as documents, but it can for sure not take a category elements!? can Beaker that!?


#11

@erfajo

just trying,
Do you have any nodes that works for inside project ?


#12

Please read this…


#13

@shrawanram, I forgot to mention the “Element.ElementType” node, so i updated the picture above.
@erfajo, I didn’t know you had a similar node (you’re package keeps getting better :+1:).

Kind regards,
Mark


#14

Thanks @MJB-online, I try my best to hold a valuable package :slight_smile:

I can also see by your new image the difference between mine and the Beaker node.

All inputs I process --not only this node but a lot of nodes-- is, in the end, being evaluated if they contain a "single" sub item, if so are the output moved one step up so to speak. This way the user never has to think how they actually are feeding the node and not expecting nD list as output.


#15

I don’t support this for projects at the moment, but It should be doable to make this rather easy… If you feel this is missing, then use my issue page at GitHub. here can wishes be put as well as bugs.


#16

@MJB-online
Just remind you that i am working on Project not in revit family.

i GOT ERROR IN PARAMETER.DELETE NODE (ORCHID)

**Warning: Parameter.Delete operation failed. **
**Value cannot be null.**
**Parameter name: familyParameter**

Any help will be appreciated.
Thank you.


#17

@erfajo
I will put some issue in github .

Hope it will solved soon.
Thank you.


#18

@shrawanram,

  • I know you are in working in project environment (me to, and it works fine for me).
  • When i am testing Dynamo graphs that open families (in background), i frequently restart Revit and Dynamo.
  • When you want to edit 366 families, you also need to create a list with 366 filenames for input of the “Document.SaveAs” node (not just one).

#19

@MJB-online

is there any other way to do it ?
it will make me 366 save as node for family. ?


#20

Hey,

This works for me…

It runs from the project, saves out the families, edits their parameters then reloads them.

The only quirk is that I couldn’t get my Orchid File Load to work. This might be something to do with my setup.

Hope that helps,

Mark

FamilyParameterDelete-2.dyn (23.8 KB)


#21

Dear all,

I am so sorry that I totally did forgot that I actually made this node some time ago :-S

I have made so many solutions to a broad variety of things, I apparently also have begun to lose track over all the nodes.

It has been rather busy for me to “leave” the community. I have had to make much enhancement to my Github and Dictionary. I have made a total sample collection, meaning traversing all my nodes and reused as much I could from all the solution I have given in this community. In that work, I focused on one node at the time and apparently I forgot again when I moved to the next node. I am so sorry about that.


#22

Dont know what causing this error


@Mark.Ackerley


#23

That’s a new one to me! Is it a clockwork node? Perhaps message the package creator?

Sorry,

Mark


#24

Think your error is that the all elements of category node you’re using is returning a function as you have not supplied it with enough information to run…


#25

@shrawanram
I have a sample that show how to handle category to family documents…


#26

@erfajo That would be helpful for me .
Can you share ?