8 Replies Latest reply on Feb 22, 2017 6:32 AM by bird_de

    Change and clear ObjectStyle


      I have two questions:



      How can I assign a particular object format (for example, "Format1") to a selected object frame?


      Reading is like this:

      MyObject = app.activeDocument.selection[0].appliedObjectStyle.name;

      But how do I now assign a different format?



      An object is assigned a specific object format (e.g., "Format1").

      How can I "remove" the objectstyle from the object (ie set it back to [empty])?