Hi fellas!
Does anyone here got an idea how you could proceed to remove URL links from selected loaded families or perhaps all families in a project?
Thanks in advance
Hi fellas!
Does anyone here got an idea how you could proceed to remove URL links from selected loaded families or perhaps all families in a project?
Thanks in advance
Since itâs a system parameter it canât be removed. You could only set the parameter values to nothing (havenât tried but an empty string should work).
When I use âElement.SetParameterByNameâ I get:
âWarning no parameter found by that nameâ. ParameterName is connected to a code block with âURLâ
Please, share your graph and there is higher chance someone to help you.
I have very poor guess that you are feeding the element and you need to feed the element type to change that parameter , because the URL is Family Type parameter, not Family Instance parameter.
Probably best if you post your graph here. Bear in mind that URL is a type parameter so youâll need to pass element types to the SetParameter node.
This got it working (using Rhytm ByNameTypeOrInstance).
But how can I select ALL families in the project?
Alright, pretty much got it working now. It finds the objects in a 3D-view.
Although it seems to freeze or take a bunch of time everytime I use it in our project (around 128 mb file size).
Also, it would be neat to find a way to select all loaded families but I really canât find a way to accomplish that. Now we have to make sure everything is placed in a 3D view.
Hi @Marcus_Isacsson,
Itâs Like @Petar_Penchev1 and @Andreas_Dieckmann mentioned you first need the FamilyType of the Instances.
Rhythm and Archi-lab_Grimshaw have a node for that.
In this way youâre not restricted to use the ActiveView node.
Kind regards,
Mark
Alright, do you know a package that includes a node that selects all categories? (instead of just generic models for instance). Quite bothersome to create a list that includes each and every category in the project.
Searching the forum wil give you some results
For instance:
https://forum.dynamobim.com/t/how-to-select-elements-by-multiple-categories/17341/3
Well, coding with python scripts isnât really my cup of tea yet :)âŚ
Hi @Marcus_Isacsson,
If you are looking for a simple multi-category filter (without Python), you could try the below workflow.
But you have to know exactly what categories you are looking for.
Kind regards,
Mark
Hi @shrawanram,
I gues the ''LENGTH" and âHEIGHTâ parameters expect a number input, so you canât feed it with a (empty) string value. As an alternative â{0,0};â input would set these parameters to â0â.
Kind regards,
Mark
Hello,
Would someone have a dynamo file that would delete the value in the URL paramater ? (By that I mean just put nothing).
Thank you for your answers
Element.SetParameterValueByName node.
Feed in the list of elements, the name of the url parameter, and an empty string value.
What if the elements are all the elements of the project ?
Then itâs no different. However I doubt your URLs are instance parameters so youâd be working with element types not instances. At least they shouldnât have been instance parameters⌠double check that.
I am a complete begineer in Dynamo, and donât know the difference between elements and instances.