Jump to content

MikeMik

Regular Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Noble Beginner

About MikeMik

  • Rank
    Beginner

Profile Information

  • First Name
    Mike
  • Last Name
    Mikkelsen
  • Location
    Denmark

Hardware | Software Information

  • C4D
    R21
  1. I am trying to get the parameters of nodes in a Redshift material but when iterating over "childNode.GetOperatorContainer()" I get an error on some nodes, where others act just fine. (Sorry if my C4D nomenclature is wrong. I am not use to code for C4D ) Here's my example import c4d import redshift as rs def main(): doc = c4d.documents.GetActiveDocument() nodemaster = rs.GetRSMaterialNodeMaster(doc.GetActiveMaterial()) shadergraph = nodemaster.GetRoot() # Iterate over all the nodes in the material graph for childNode in shadergraph.
×
×
  • Create New...