Announcement

Collapse
No announcement yet.

[SDK] How to know if the Class_ID is unique?

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

  • [SDK] How to know if the Class_ID is unique?

    I'm getting started with Vray SDK these days. I noticed that the Class_ID of new project must be unique, otherwise it will overwrite some existed item in 3ds max. But I have no idea how to make sure if the new Class_ID I changed is unique. Is there any easy way to get a unique Class_ID? Thank you.

  • #2
    Hello,

    In the Max SDK folder in the help folder there is a small app gencid.exe - you can use it to generate Class_IDs

    Best regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      That's Helpful. Thank you!

      Comment


      • #4
        It doesn't eliminate the possibility of a duplicate, but since the address space is 2^64, this is not likely to be an issue... for anyone... ever.

        Comment

        Working...
        X