I want a red sphere (no image this time )
It’s creating the material but not applying it to the family. Why not?
I want a red sphere (no image this time )
It’s creating the material but not applying it to the family. Why not?
Transaction.end / wait.for/passtrough i guess
Please could you elaborate?
create material first
wait.for or the other options
then create the sphere
Ah, yea, I tried that, still no joy.
I think it’s something to do with the material being created in the Revit model not the family maybe?
I’m cheating and using Element.OverrideColorInView instead.
You are inputting a material but the node wants a material name.
The core node works with material input, but this doesnt.
you will need in the template
Confirm the material is correct in the material browser. Confirm the object has the material applied. Try to narrow down where the failure is occurring. Are you sure you’re providing the correct inputs to the material creation?
It has created ‘red’ material that is red shading and red foreground solid fill.
If I edit the family (generic model in this case)… I get material
So it’s not applying the material in the family.
So my guess is still that it’s creating a material in the Revit model, not in the family and this is the issue.
That’s how I would expect this to work. If you’re wanting to create a material inside the family and apply it there then that would be a different process. I’m guessing this node is setup to create the material in the active document. Also, make sure you have a transaction with the passthrough to make sure the material exists before you assign it. Dynamo can’t assign a material that doesn’t exist yet.
My wording is probably confusing.
I’m saying, “I am not quite sure why it doesn’t work (am guessing this is the reason but am not sure), please tell me how to make it work”
Recreating your script, the Springs node “FamilyInstance.ByGeometry” doesn’t appear to create a material parameter to apply the material too.
Try…
Whereever this geometry is being created initially in the script turn off “preview” in dynamo and all the the subsiquent nodes ie unions up until the family instance by geometry, so thay only the familyinstance by geometry solid solid is being previewed maybe?
It’s not the dynamo hiding the colour.
The sphere does not have the material applied.
If anyone is wondering why I keep asking questions about spheres…
This is what I’m working on:
A silly DIY L-system tree script
So why not creating the material in the family template before?
Did you think of putting a light source inside your sphere and some holes and a Date.timenow node to make them rotate?
I think of lots of things…
My ability prevents them becoming reality…
How?