I am trying to drive the level name of my solids by a list.
I have a list from excel that contains the name of the elements that I am trying to place.
I can't paste the examples but in generic terms the list would look something like this (level1, level2, level3) etc.
I have used the following within the "LevelName" input: Name.Value.ToString()
"Name" is the list of names
.
As you can see it is not reporting any errors but when I select the solid it just tells me that it is placed on Level Default
When I hover over the LevelName on the output of "solid1" it lists the level names as I would expect t see them.
I am sure I am doing something wrong but not sure what. Any help would be appreciated.
Cheers,
Alex
Hi Alex,Are you trying to set child features of "solid1" to each have a different value for the level? If so then this doesn't work, you can only set one level per node. You could create a custom node to achieve this functionality if you need it, or alternatively as a work around split the features into separate nodes so that you can assign the levels individually per node.
Cheers,Ed
Hi Ed,
Yeah I am trying to have each child have a different Level Name. There are 1200 elements so would prefer to not create 1200 nodes I don't have much experience with the custom nodes. I will have a play with it now...
Hello Ed, To make the code work in U7, we need to make some changes in VS code. With help from our developer Jeff Brown, we have modified the code for U7.
Regards,Alifur
Hi Ali, could you please share the changes made?
Hello Ed,
Sure, Do you want me to mail or just upload them in here?
Whichever you prefer
Hello Ed, Please find the attached .CS file. That one is updated for OBD U7. Please let me know if you need anything more. https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/ParametricCell_2E00_cs