Graphics

 View Only
  • 1.  Rename Base Object from Script

    Posted 04-17-2024 13:33

    Is it possible to rename a Base Object (in my case a group object) from a script? I can't seem to find a reference in the API and the .Name property seems to be read only. 



    ------------------------------
    Carlito Chippy
    ------------------------------


  • 2.  RE: Rename Base Object from Script

    Posted 04-17-2024 14:41

    Yes you can rename it. The 'Name' property is Read-Write.

    XPression API Reference
    Name Property
    See Also  Send comments on this topic.
    xpBaseObject Object : Name Property

    Glossary Item Box

    Description

    Gets and sets the name of the object.

    Property type

    Read-write property

    Syntax

    Visual Basic
    Public Property Name As String

    See Also



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 3.  RE: Rename Base Object from Script

    Posted 04-17-2024 15:09

    Thanks Azathoth. I actually had seen this and it kept freezing Xpression, but I realised why, I was trying to rename it while it was still an active reference, so I just need to build my scene a bit differently. 



    ------------------------------
    Carlito Chippy
    ------------------------------