Announcement

Collapse
No announcement yet.

Script help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script help

    Anyone know how to set an objects wireframe color to "by layer"?

    thanks
    Eric Boer
    Dev


  • #2
    Code:
    for o in objects where (o.layer.name == "Layername") do o.wirecolor = (color 255 255 0)
    Colin Senner

    Comment


    • #3
      Thanks Colin but not exactly what i was looking for, I'd like to toggle the "by object"/"by Layer" options in the object's color so that objects will change color depending on what layer they are on.
      Eric Boer
      Dev

      Comment


      • #4
        After a brief look I couldn't find anything for toggling this, there might be mxs exposure but I couldn't find it quickly.
        Colin Senner

        Comment


        • #5
          With some good guessing my esteemed coworker discovered that it is
          $.colorbylayer = true/false
          Eric Boer
          Dev

          Comment

          Working...
          X