Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawingTools Templates

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

    DrawingTools Templates

    Hello,

    Sometime working with drawing objects within ninjascript we have to use an object template as a draw function parameter.
    So far if the template does not exist, there will be some default object style.

    Is there any way to create a template not manually but from ninjascript in case the template does not exist ?
    Technically I coul do it through creating raw XML file myself and put it into a correct folder. But I thought there should be some ninjascript fucntionality to work with templates ?
    I couldn't find anything like this in the documentation.

    please advise

    thanks

    Andrei

    #2
    Hello Andrei,

    Thank you for your post.

    Programmatically accessing and modifying the XML template files is not documented in the help guide and therefore it is not supported. You could attempt to do so at your own risk and results may vary. Currently, the only supported way to create a drawing object template is to manually configure it and then reference the manually created template in the parameters when drawing the object programmatically. For more details on working with drawing object templates:


    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X