Giter Site home page Giter Site logo

orchidfordynamo's People

Contributors

erfajo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orchidfordynamo's Issues

Load Into project and close

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.

AddProjectParameter behavior on 2017.xx and 2018.xx

Revit, Dynamo and Orchid version

Revit: 2019xx - 2018.xx - 2017.xx
Dynamo: 2.0.2 - 1.3.4
Orchid: 202.5.0.7072 - 134.5.0.7072

The issue

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.

Results of Parameter.GetValue

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.

image

image

hope you can shed some light on this or let me know how i can have it sorted according to the family type.
thanks

Associate parameter in multiple family files - for example node Orchid parameter.associate

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:

https://forum.dynamobim.com/t/associate-parameter-in-multiple-family-files-for-example-node-orchid-parameter-associate/28429/3

Regards, Marko

Parameter.Delete Node Warning

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?

Revit, Dynamo and Orchid version

(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

deletesharedparameter

Parameter.Delate node - multiple parameters/multiple families listing

Revit version 2019.0.1 and Dynamo core version 2.0.1.5055 Dynamo Revit version 2.0.1.5065

Parameter.Delate node - multiple parameters/multiple families listing

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.

obraz

obraz

PARAMETER.DELETE.zip

Latest Orchid with Revit 2017

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

FamilyDocument.SetParameterByName won't work

Revit and Dynamo version

Revit 2017, Dynamo 1.3.3

The issue

I tried to set the parameters of several families at once. The parameter was already included in the families' documents.
image

The families appeared to have been saved with their parameter's valued included. However, when entering the families, the parameter had not changed.

image

Various nodes not working, reporting unresolved

Operating system

Windows 10

Revit and Dynamo version

Revit: 2019.2.1
Dynamo: 2.0.2.6833
Orchid: 200

What did you do?

Nodes not working properly, reporting unresolved.

What did you expect to see?

What did you see instead?

image

associate by matching parameter names family shared parameters

Revit, Dynamo and Orchid version

Revit 2020.1
Dynamo 2.2.12.5291
Orchid Latest version for 2.2 dynamo

The issue

I am trying to associate multiple parameters by matching names from a host family to its nested one.
my graph looks like this
test association paramètres_2019-11-05_09-36-09

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)

Solution

you need to feed it with all inputs as a list.

Suggestion

let it take the input directly from the current faily document

Orchid not installing properly/completely?

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!

Document.Close

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!

Getting null values in getformula.value node!

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

getvalue

Print.By.View node giving "no views/sheets selected" error

Revit, Dynamo and Orchid version

Revit: 20.0.0.377
Dynamo Core: 2.1.0.7500
Dynamo Revit: 2.1.0.7733
Orchid: 210.1.0.7117

The issue

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.

Type Initializer threw an exception.

Operating system

Win 10 Pro

Revit and Dynamo version

(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

What did you do?

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

What did you expect to see?

Dynamo to take the color in the graphics of the material and set the render appearance color

What did you see instead?

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

IFC Setting nodes

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.

Export multiple Revit to IFC.zip

Warning Dynamo

Purge

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

Operating system

Windows 10

Revit and Dynamo version

Revit: 2018.3.1
Dynamo: 1.3.2 & 2.1.0
Orchid: 05.11.2018

What did you do?

Purge active document

What did you expect to see?

Number of items checked reduced from 568 to 0

What did you see instead?

Number of items checked returned 384

image
image
image
image

Get References from Generic Annotation

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

Installation Issues

Hi.
I have installed Orchid from package manager to a custom location. Then I ran the installer.
I get this message.
image

Can you help please?
I was also wondering why Orchid is not deployed through the package manager?

thanks

Document.BackgroundOpen Exception thrown

Operating system

(Windows 10)

Revit and Dynamo version

Revit: 18.3
Dynamo: 2.0.1
Orchid: 202.4.2.7032

What did you do?

use document background open to open family document in background

What did you expect to see?

document opened

What did you see instead?

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.

image

Change_Family Category.dyn (19.6 KB)

Check if a parameter is being associated within a family

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:
image

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.

ApperanceAsset.SetGeneric not working

Operating system

(e.g. Windows 7, Windows 10, etc)

Revit and Dynamo version

Revit: 2020
Dynamo: 2.1.0.7733
Orchid: 210

What did you do?

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."

image

Installer for 2.2

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.

Add/Create Shared parameter nodes - value can vary by group instance / parameter description

Is your feature request related to a problem? Please describe.

  1. 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"

  2. Can't set a description for a shared parameter using "Parameter.CreateSharedParameter" node.

Describe the solution you'd like

  1. can set "value can vary by group instance"

  2. can set the description of the shared parametes

  3. a boolean to select "value can vary by group instance"

  4. a string input to set the description of the shared parametes

Describe alternatives you've considered

I can't find any other way to solve the problem

Additional context

Hi Erfajo,
Hi everyone,

I use the orchid pkg to Add or Create shared parameter with this two nodes:
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)

value can vary by group istance

Second one:
when a new parameter is created with the node “Parameter.AddSharedParameter” is there the possibility to compile the description field?

description

Index was out of range

Operating system

Window 10

Revit and Dynamo version

Revit: 2019
Dynamo: 2.0.2.6823
Orchid: 202.4.2.7024

What did you do?

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.

Untitled

FamilyTyper.GetNested - Object.ToDynamoElement Issue

Revit and Dynamo version

Revit 2019.1, Dynamo 1.3.3.4111

The issue

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

image

MammaAnatroccolo.zip

IFC Geometry

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

Issue with finding formulas and removing them

I am getting the below issue with the below build. We use many manufacturer made families, some provide families with parameters that need formulas removed so that I can capitalize them to match our standards. This code looks for families with formulas then removes them. Thanks

image
capture

Dynamo 2.3 support with Revit 2020.2

Revit, Dynamo and Orchid version

Revit: 2020.2 (20.2.0.48)
Dynamo: 2.3.0.5885
Orchid: 220.0.0.7253

The issue

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

Overwrite Material Parameter in Families

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

FamilyType.Delete

Revit, Dynamo and Orchid version

Revit: 19.2.0.65
Dynamo: 2.0.3.8811
Orchid: 203.1.1.7198

The issue

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:
image
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:
image
But still it doesn’t work, so any ideas are very much appreciated, thanks!

Nodes are showing error even when loading the new and updated Orchid file from Github

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

Orchid Revit Tab not appearing on Install of Package Revit 2020

Operating system

Window 10

Revit and Dynamo version

Revit: 2020
Dynamo: 2.1
Orchid: 210

What did you do?

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

What did you expect to see?

tabs for Core and Revit components under Orchid Tab

What did you see instead?

Only Core Tab under Orchid Tab

Updated orchid. But i get al kind off namespace collisions with the OOTB nodes in code blocks

Operating system

(e.g. Windows 7,)

Revit and Dynamo version

(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

What did you do?

Updated Orchid

What did you expect to see?

No problems with OOTB nodes in code blocks

What did you see instead?

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

choice of license

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 :).

Selection.ElementByCategory not working with Subcategories

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

Manual install

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.

File.LoadFamily Relinquish Worksets

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.

Virus/Torjan

Win10

(e.g. Windows 7, Windows 10, etc)

Revit and Dynamo version

(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

What did you do?

Try to download the Orchid Installer Package.

What did you expect to see?

Not sure, but definitely not a Virus

What did you see instead?

Virus
Dynamo200

Installation ISsues

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.

  1. Install from Package Manager. I was directed to the GIthub page.

  2. 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.

image

Error Warning.

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 ?

Parameter Associate for Global Parameters with a project setting

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!

Parameter.AddSharedParameter Toggle Create New

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.