Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Creating objects dynamically/on-the-fly

DJ Feb 01, 2019 12:55AM CET

Hi everybody,

I'm wondering if it's possible to create and render an object, like a Monitor or Container on the fly, by triggering a function/bit of script. Like so;


decl contain_obj = new Container();
setattribute(contain_obj, 'rect', {0,0,640,480});

render(contain_obj);


That would be a total lifesaver. Thanks!

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@liine.net
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete