erfajo / orchidfordynamo Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the content of the Orchid package for Dynamo
Home Page: http://www.dynamobim.com
License: Other
This repository contains the content of the Orchid package for Dynamo
Home Page: http://www.dynamobim.com
License: Other
Does one exist, or is it possible to create a node thatcan load a family back into a document and close?
I am trying to insert a family at the innermost family of a nested family, and load them all back together into a project, using Dynamo.
Revit: 2019xx - 2018.xx - 2017.xx
Dynamo: 2.0.2 - 1.3.4
Orchid: 202.5.0.7072 - 134.5.0.7072
hi, I'm trying to use the AddProjectParameter node but I'm am encountering some issues. I'm using it to update the the category binding on certain parameters. It really works fine in revit 2019, but I also need to make it run on older projects based on Revit 2017 and 2018. When I try to run it I get the "threw an exception" error. I'm starting to think that the node wont work on version older than the 2019 one, but I can't find any documentation regarding. Also, I'm having issues to update the category binding on updated files (2017->2019). It seems I can't modify the binding on parameters preexisting the update but only on post-update created ones.
Hi there,
The orchid package is extremely useful.
I have a quick question regarding the parameter.getvalue node from this package.
I have a graph that reads the family files from a folder. It get the files names and type names correctly but when it gets the description parameter value, it does not list it in the order of the family type. The order is random and changes each time a new session is runned.
The arrows in the image below shows the type name and description relation.
hope you can shed some light on this or let me know how i can have it sorted according to the family type.
thanks
Revit: 2019
Dynamo: 2.0.1.5055
Orchid: 201.3.6.6881
Hi @erfajo ,
I am trying to associate the element material parameter with a family material parameter in multiple family files. For the last two days I am trying to do it with the parameter.associate “Orchid package”, which looks great!
It worked from the first moment using the current open family document.
But I didn’t managed to get it working for multiple documents. Any other solution would be appreciate too. I am adding pictures of the script.
Please help me find out what am I doing wrong. :slight_smile:
Link to files:
https://app.koofr.net/links/d3cfc427-1efd-4e6c-b0bc-780bca108070
ps: I have previously posted the question on the Dynamo forum (link below) and @Manel_Fernandez suggested me to visit this page:
Regards, Marko
Hello,
I tried to delete shared parameters both project parameters and family parameters. However parameter.delete node gave a warning that "Warning: Parameter.Delete operation failed.
Value cannot be null. Parameter name: familyParameter"
I checked parameter.name node and it has string outputs.
I attached workspace image.
Can you help me to find out what is wrong?
(Which version of Revit, Dynamo and Orchid are you using? Go to Help > About if you're not sure. for Orchid version, go to Packages > Manage Packages)
Revit: 2017
Dynamo: 2.0.2.6833
Orchid: 203.1.0.7125
Hi,
I am trying to make graph based on xls and your nodes connected with family documents. - which are real help and I thank you for as most of the community i guess. Using many threads with your support on dynamobim i solved most of the puzzles for my needs. creating multiple parameters for multiple families, setting multiple values and formulas all from xls file.
Unfortunately I am stuck at delete node. I am trying to delete multiple parameters from multiple families without concern if they are in the family or not. This first part works, I received a list according to each family with parameters that are both in the family and on my delete list. Unfortunately no matter the levels of Parameter.Delete node I can't push it through. It works for one family or for many families with same parameter to delete set.
I send graph, excel and files.
Thanks in advance.
Hello Erfajo,
I want to update your package to the newest but unfortunately I think this is not possible anymore to use with Revit 2017?
E.g. on the Document.BackgroundOpen I get the following error:
"The type initializer threw an exception"
Is this kinda Problem of the Revit Version that its not compatible anymore or is this some other bug?
Thanks for your Help
Revit: 2017.2.4
Dynamo: 2.0.3.8810
Orchid: newest
Revit 2017, Dynamo 1.3.3
I tried to set the parameters of several families at once. The parameter was already included in the families' documents.
The families appeared to have been saved with their parameter's valued included. However, when entering the families, the parameter had not changed.
Revit 2020.1
Dynamo 2.2.12.5291
Orchid Latest version for 2.2 dynamo
I am trying to associate multiple parameters by matching names from a host family to its nested one.
my graph looks like this
It does work as expected once you feed a family document (the current one) as a list. If the document is passed as a 'x' and not as a [x], it does not work properly (see the last bit of my graph @ the family document input)
you need to feed it with all inputs as a list.
let it take the input directly from the current faily document
I am trying to install Orchid 2.0 for Dynamo 2.0.3. The package shows under Add-ons, but all it has under it is "About"
I have installed the proper version locally via the exe, but it still doesn't detect any nodes within the package.
We store all packages on a shared server. The package folder is there with bin, dyf, and extra subfolders.
Any idea what I'm missing?
Thanks!
Looking at older usage scenarios for Orchid, it appears that nodes like setting a parameter on a family type (Parameter.SetValue) used to return the family document. Now it returns the Parameter.
I am opening the document, creating several types, and setting parameters on each and THEN I want to save and close the document. How do I get that to happen in sequence? How do I get the document object back again AFTER the parameters have been set?
Thanks!
Hi Erfajo!
Im having no results when in comes to extracting the formula value with your nodes.
the set.formulavalue node is ok, it did work but extracting the formula with getformula.value is not working at all.
it returns nulls values.
Ive tested the strings on and on to see if i did misstype. but misstypes result in empty lists and im getting nulls.
i also did create a standart family type based on other sollutions on the forum, but i get the same errors.
could you help me on this one brother?
the goal is to schedule all my fitting`s formulas in the piping template, cause they have "if" formulas containing multiple class codes and descriptions written inside the “code” and “description” parameters, and i need to change all that info.
Files:
https://drive.google.com/drive/folders/1WM8OaqWnihTCRHCG5K63UUkVgidbySsT?usp=sharing
Revit: 20.0.0.377
Dynamo Core: 2.1.0.7500
Dynamo Revit: 2.1.0.7733
Orchid: 210.1.0.7117
I've had this issue with the node Print.ByView a while ago where it doesn't work and gives a "no views/sheets selected" error. I posted it on the dynamo forums, but since it seems you are no longer active there, I am posting it here now.
Below is a link to the issue (let me know if you want me to transfer it here rather than just provide a link and I will edit this)
https://forum.dynamobim.com/t/print-byview-no-view-selected-error/37991
I would appreciate if you could point me in the right direction if I am doing anything wrong.
Win 10 Pro
(Which version of Revit, Dynamo and Orchid are you using? Go to Help > About if you're not sure. for Orchid version, go to Packages > Manage Packages)
Revit: 2019.2.1
Dynamo: 2.0.2.6826 (Core) 2.0.2.6833 (revit)
Orchid: 202.4.2.7024
set up nodes to select material category, select all elements of category get color, Material.AppearanceAsset (ORCHID), AppearanceAsset.SetGeneric (ORCHID)
I have a project with materials created including render appearances. Each material's graphic color is assigned as per required RGB codes and I wish to transfer same colors to render appearance
Dynamo to take the color in the graphics of the material and set the render appearance color
Material.AppearanceAsset (ORCHID), AppearanceAsset.SetGeneric (ORCHID) both threw up issues e.g "Warning: AppearanceAsset.SetGeneric operation failed.
The type initializer for 'Orchid.Materials.AppearanceAsset' threw an exception."
z Orchid Render App.zip
Revit: 2018
Dynamo: 1.3.2.2480
Orchid: 134.4.2.7024
Hello Erik,
I've tried the IFC nodes and tried to make my own IFC settings to export IFC's from different models. However i have a warning after the first node and maybe you can help me.
I've make the linked nodes as the example i found on dynamobim forum.
See the picture below what the problem looks like.
The .dyn file is attached in the Zip file.
Thanks for the effort.
Hi Eric,
Thank you so much for this node it is awesome to have this functionality :)
I presume it just needs a while loop adjusting...
Cheers,
Mark
Windows 10
Revit: 2018.3.1
Dynamo: 1.3.2 & 2.1.0
Orchid: 05.11.2018
Purge active document
Number of items checked reduced from 568 to 0
Number of items checked returned 384
I have installed the orchid package (Download from https://github.com/erfajo/OrchidForDynamo) on my Computer if I am not wrong the node files are missing on the right folder. could you please check the below image
I would like to return references from the geometry of generic annotation families
This would allow the dimensions to be taken from generic annotations.
The only other option is to load the generic annotation into a different family type (such as generic model) and manually apply references in there.
Apologies if this is impossible, thank you for your time :)
Mark
(Windows 10)
Revit: 18.3
Dynamo: 2.0.1
Orchid: 202.4.2.7032
use document background open to open family document in background
document opened
spits out null and I get "Warning: Document.BackgroundOpen operation failed.
The type initializer for 'Orchid.Core.Document' threw an exception" error.
I have recently switched over to 2.0.1 and upgraded my orchid package as well. Not sure if this error is because of something I did or not. I have tried with a single file as well as several and I get the same error.
Change_Family Category.dyn (19.6 KB)
The goal is to be able to verify that a nested family has it's parameters properly associated with the host families parameters.
A huge bonus would be if it were possible to run this from a project environment where we specify the family (in my case, a titleblock), specify the nested family (in my case, a logo family), and the node provides all parameters that are associated (both instance and type). Output much like the following picture would suffice:
The node shown in the picture above only checks instance or type parameters depending on whether you feed it element or element type. It would be very helpful if your node took the element and provided both type and instance parameters.
(e.g. Windows 7, Windows 10, etc)
Revit: 2020
Dynamo: 2.1.0.7733
Orchid: 210
I am trying to set the color of the appearance asset using the "ApperanceAsset.SetGeneric" block, but somehow this does not work. I tried following the C24 timber example provided but this does not work either, and there is no clear error being thrown. The only thing being said is "Warning: AppearanceAsset.SetGeneric operation failed."
Is there a installer for 2.2. We updated our Revit which updated Dynamo and now half my script are broken. Not an issue with other packages because they can be copied or downloaded again from withing Dynamo.
Revit version Revit 2018.3, revit 2019.2
Dynamo version 2.0.2 .6826
Basic scripts using Orchid fail to work currently, they all seem to have the 'The type initializer for 'Orchid.Core.Document' threw an exception' in common. Document.Name is one example of this.
Can't set the options "value can vary by group instance" for text type parameters and instance parameters with nodes "Parameter.CreateSharedParameter" and "Parameter.AddSharedParameter"
Can't set a description for a shared parameter using "Parameter.CreateSharedParameter" node.
can set "value can vary by group instance"
can set the description of the shared parametes
a boolean to select "value can vary by group instance"
a string input to set the description of the shared parametes
I can't find any other way to solve the problem
Hi Erfajo,
Hi everyone,
I use the orchid pkg to Add or Create shared parameter with this two nodes:
nodes
I have no problem using them, with data from dynamo itself or importing from excel.
My questions/suggestion are essentially two;
first one:
is there any way, in case the shared parameter is a text type parameter to select “value can vary by group istance” (see following image)
Second one:
when a new parameter is created with the node “Parameter.AddSharedParameter” is there the possibility to compile the description field?
Window 10
Revit: 2019
Dynamo: 2.0.2.6823
Orchid: 202.4.2.7024
I tried to check out the buildin parameter.
The node of 'builtin parameter' has the error message which is ' index was out of range. Must be non-nagative ..."
How can I have the node run without an error?
Thanks.
P.S. I was testing it on my Revit project file.
Revit 2019.1, Dynamo 1.3.3.4111
I'm use the node FamilyType.GetNested to get the nested family from an .rfa file (get by Directory.ContentsAll node) and then convert to Dynamo Element
I expected to get a list of dynamo element family, but I got "null" values
Hi Erik,
I would like to be able to access the geometry of an IFC file without loading it into Revit.
I imagine a node with an input of file path and outputs of Revit elements &/or solids/meshes
The desired workflow is to 3D print IFC files without requiring Revit.
I see potential for custom IFC workflows which improve IFC operability.
I don't know if this is remotely possible, but if I don't ask I'll never get :)
Thanks a lot,
Mark
Revit: 2020.2 (20.2.0.48)
Dynamo: 2.3.0.5885
Orchid: 220.0.0.7253
Hi Erfajo, Hi All,
my question is about the support for dynamo 2.3 (included in Revit 2020.2), I tried to use Orchid 220 version but it doesn't work.
Is there a fast way by my side to use the orchid package in 2.3 or is it need rewrite of the code?
Thanks
Daniele
Hello @erfajo, I am still very happy with your nodes and i got an issue now where i am pretty sure you can help me. I am trying to overwrite the Material of all my Families because the Material Library changed - The changes are huge and not only affect some Appeareances, so a editing of the existing one will not work. The Families are mainly created with Dynamo (Family Instance by Geometry) where the Material gets assigned, so there is a way to assign the Material and i would be very glad if you could help me with that.
I also already tried to get somehow the Parameter in a Project file but I can only access the Material Parameter when I run Dynamo in the Family - therefore I can only change 1 Family, quite useless.
My first try to do this was with your FamilyDocument.SetParameterByName or FamilyDocument.SetFormulaByName because I always use this nodes whenever i want to fill a parameter but in this case I cant find any way to assign a god damn new Material. Is there already a possibility to also change this Material in a Family Document using your nodes that I have overseen or is there the possibility to include this feature?
Would be also Glad to get a hint on how to solve it with another Workflow. The Material which should be assigned are available in an Excel Sheet with every Family Type and the matching Material (most of the Families are only 1 Solid).
Thanks a lot in advance
Hello,
I tried downloading OrchidForDynamo_201.3.9.exe from the Builds folder in order to update my Orchid Package for Dynamo 2.0 but am unable to do so. Chrome blocks it. Can you please advise?
https://support.google.com/chrome/answer/6261569?visit_id=636820525409327723-2005923568&p=ib_download_blocked&hl=en&rd=1
Hi @erfajo,
Am i missing something in use of your node here?...
https://forum.dynamobim.com/t/all-elements-of-subcategory/23292/4?u=ryan_schultz2
Best, Ryan
Revit: 19.2.0.65
Dynamo: 2.0.3.8811
Orchid: 203.1.1.7198
How to use the FamilyType.Delete node.
What I’m doing is creating new Family Types and saving each one in a different .“rvt” File, so I want to create one and save it and then delete it so that when I do the new one and save it, it saves individually. Anyway, I tried using the node like this:
But it didn’t work, and I don’'t know if I’m using it wrong. And I thought that maybe it got lost in the element part so I tried to implement the node in my Custom Node where I create the Family Type and ended up with this:
But still it doesn’t work, so any ideas are very much appreciated, thanks!
Hi Erik,
Thank you for support me with my last issue on Dynamobim Forum however I haven't had the chance to run the graph the nodes are showing error I am not what I am doing wrong it also says its clashing with my plugin I have even when I have deleted and uninstalled it I shall show you all the errors that's how please need your help with this one kinds regards sagal
Hello,
Thank you for inviting me from:
https://forum.dynamobim.com/t/print-setup-checkboxes-boolean-controlled-via-dynamo-graph/29824
I would greatly appreciate any nodes that would turn on/off the Option Checkboxes at Revit's Print Setup window. The "Hide crop boundaries" checkbox in particular (Please see screenshot below). Thanks again for your consideration.
Window 10
Revit: 2020
Dynamo: 2.1
Orchid: 210
Tried to Install Orchid both though the exe and also via packages.
The package did not show up at all until i moved them into folders on level higher
Original:Orchid_210/Dynamo Core
New: Orchid_210_Dynamo Core
but this logic still does not give me the Revit components
tabs for Core and Revit components under Orchid Tab
Only Core Tab under Orchid Tab
(e.g. Windows 7,)
(Which version of Revit, Dynamo and Orchid are you using? Go to Help > About if you're not sure. for Orchid version, go to Packages > Manage Packages)
Revit: 2019.2.
Dynamo: 2.03.
Orchid: tried the most recent update off Orchid
Hello Erik
Updated Orchid
No problems with OOTB nodes in code blocks
A lot of OOTB actions in the code blocks are giving a namespace collision.
So i went back to the old orchid installation. (Orchid 200.2.0)
Nico
Hi @erfajo
first:
IANAL ;)
The choice of this license for this repo would make me hesitate to use it for any commercial work because of this bit:
, which include larger works using a licensed work, under the same license.
because I interpret this to mean that any dynamo graph which uses this package must be also open source. Just curious if this is your intention, if so thats cool :).
Revit: 2017.2 & 2019.0
Dynamo: 2.0.0.4654
Orchid: 201.3.4.6839
Hello erfajo, I am facing a problem with the Node "Selection.ElementyByCategory". The node works fine if I try to get elements by their Main Category e.g. "Generic Models". My issue is that I need to select the Elements by their Subcategory e.g. "Generic Models - Test 1".
The conversation to this topic can also be found on DynamoBim forum on the following Link:
https://forum.dynamobim.com/t/selection-elementbycategory-with-subcategories-not-working/31367?u=gerhard.schindler
Thanks in advance
Can I manually copy the files into my packages folder? I thought that was possible and suspect the json file would need to include the contents for this to work. Am I misunderstanding how this is done? I am unable to run exe on my system. Thanks.
I am new to Dynamo so forgive me if my question is basic. @erfajo i am using you graph to update title blocks in many projects. the problem that i am running into is that I end up being the owner of the work set after I run the script. I believe it is in the “File.LoadFamily” node. (can’t inspect the code of the node) If this is correct could you add a line of code that will relinquish all work sets.
(e.g. Windows 7, Windows 10, etc)
(Which version of Revit, Dynamo and Orchid are you using? Go to Help > About if you're not sure. for Orchid version, go to Packages > Manage Packages)
Revit: 2019
Dynamo: 2.03
Orchid: 200
Try to download the Orchid Installer Package.
Not sure, but definitely not a Virus
Revit: 2019.2.2
Dynamo: 2.03
Orchid: 203.1.1.7205
Hi There,
I am not able to install Orchid succesfully. The Steps I have down are.
Install from Package Manager. I was directed to the GIthub page.
I downloaded the packges from Github and replaced all the files in the Orchid folder with the ones from Orchid_200 Folder . After doing this, the Orchid is no longer in the dynamo interface. The Arrow show where it was before it disappeared.
Any help appreciated.
I was trying to use the AddShareParameter Node.
and it's giving me an error:
Warning: FamilyDocument.AddSharedParameter operation failed.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "OrchidRevit.Internals.Resources.resources" was correctly embedded or linked into assembly "OrchidRevit" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Why is that ?
Hi erfajo,
I just realised that the Parameter.AddProjectParameter does not add the parameter to any subcategories. Could you please add this feature in your script?
I made about about the issue in the dynamo forum: https://forum.dynamobim.com/t/add-project-parameter-not-added-to-subcategories/37825
Thanks a lot for your scripts :)
Kind regards,
Jannis
I am currently trying to associate a titleblock with global parameters inside a project. I have been using your Parameter.Associate node within families with great success but it obviously does not function within a project document.
It would be amazing if you could create a similar node that allows the user to specify a family, global parameters, and family parameters.
Otherwise, thank you so much for the Orchid package! It is great!
I'm worried that creating a parameter by mistake will happen if the wrong person in our firm messes with this node. I don't want to constantly have to clean up our shared parameter file and track down who is accidentally adding parameters. I've ran into an example while upgrading from 2.0 to 2.1 where a missed use level toggle on group name caused duplicates of parameters to be created under different groups.
I think having a toggle for create new would be desirable. If the toggle is false then any parameter that doesn't exist would simply not be added to the family. Perhaps you could add a output for parameter not added.
I've also considered suggesting creating a new node that simply doesn't have the create function built in.
Either option I think would work. Appreciate all the work you do on this package. I use it a lot. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.