albandechasteigner / GeniusLociForDynamo

Genius Loci is a package of 350+ custom nodes for Dynamo in Revit.
MIT License
45 stars 10 forks source link

Material Set not working from list #23

Closed frankiepb98 closed 1 year ago

frankiepb98 commented 1 year ago

Hi, when I use the "Material Set Appearance Asset" it is only working for a single material. Either by a single string, or if I use the attached image and filter for a single material, it works too. But, if I filter by a name that gives me 3 materials, only the first material will be changed, and the rest will not change. Is the "Material Set Appearance Asset" written to only change a single material? Or Am I doing something wrong? Should I use a different command when I have a list of materials instead of a single material? Thanks!

Material Set from List

albandechasteigner commented 1 year ago

Hi,

I can't see all your graph but try with the longest lacing on the Material Set AppearanceAsset node.

frankiepb98 commented 1 year ago

Hi, attached a larger view. Can you explain further? Only the first material in the list (red arrow) is changed, even though the final watch list has all the materials (as the initial list). Thanks for the reply!

Material Set from List 2

albandechasteigner commented 1 year ago

Hi,

The lacing operation is explained on the Primer : https://primer.dynamobim.org/06_Designing-with-Lists/6-1_whats-a-list.html See if the longest lacing solves your issue.

frankiepb98 commented 1 year ago

Yes! It works now. Thanks! Last question, should I do something about the CPython3 message?

Thanks you!

CPython3

albandechasteigner commented 1 year ago

Great. I don't plan to immediately migrate the 350 custom nodes from the package to the CPython engine so you can check the "Do not show again" box.