Jump to content

Latimerias

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Posts posted by Latimerias


  1. @Alain2131

    You just made my month! To clarify i do not need the values from previous datasets to remain, the file you shared answers all my questions!! Im gonna need to do some changes to implement it for my use but it looks amazing from what i just looked at. thanks so much!

    Edit:

    Just finished implementing it, and it works like a charm but now im trying to use material instead of color which ive having touble implementing, do you have any suggestions?  So far everything i tried assigning a material to values by reversing the blast selection so it only leaves 1 value for each iteration and then assigning a material node after that references the material specified by the parameter. the problem is i keep getting an error "bad parameter reference" when im using the same conventions. I attached a file showing what im explaining. 

    EDIT 2

    Just got the material setup working! ill attach a file for anyone who looks at this in the future.

     

     

     

     

    dyanmic UI with materials on prims.hipnc


  2. Hello,

    So i import data with varying attribute values. For example ill call it attribute "Type" with string values "B,F,C,D". The attribute always imports under the name type but the values change, im looking for a way to generate a color parameter for each value so i can color value "F" primitives a different color than "B,C,D". The problem i cant get around is if the next dataset i import has values "X,A,S" how can i make the interface dynamic so that now i only have color parameters for the X,A,S values. The closest thing i can find is multiparam blocks but those would require me to manually create the parameters where instead i want parameters to generate based on the number of attribute values. Is this even possible without python, i have no experience coding.

    I hope this made sense, thankyou for your time!


  3. Hello,

    So i import data with varying attribute values. For example ill call it attribute "Type" with string values "B,F,C,D". The attribute always imports under the name type but the values change, im looking for a way to generate a color parameter for each value so i can color value "F" primitives a different color than "B,C,D". The problem i cant get around is if the next dataset i import has values "X,A,S" how can i make the interface dynamic so that now i only have color parameters for the X,A,S values. The closest thing i can find is multiparam blocks but those would require me to manually create the parameters where instead i want parameters to generate based on the number of attribute values.

    I hope this made sense, thankyou for your time!


  4. Im working with osm data and which has a "building" attribute that contains values like garage, residential, apartments etc... and there is usually varying values depending on the location that the data is taken from. What im trying to do is create a group for each value that is named with the value. For example i have an osm file with the building attribute and a value of "garage" which needs to be turned into a group called garage, referencing the value for its name. I know i can reference attribute values as groups by doing @building=garage but then its not procedural and would not create a group for each value type. Not really sure how to do this and would appreciate any input!

×