Surfaces

About advanced scenes, and the Thyme scripting language used in Algodoo.

Surfaces

Postby theclankinator » Wed Jul 29, 2015 7:27 am

How do I get all of the info of a surface for a certain object? Something for the scene.addPolygon statement. When I try to open it in the scripting menu it just minimizes the surface instantly. Thanks!
theclankinator
 
Posts: 7
Joined: Wed Jul 29, 2015 1:29 am

Re: Surfaces

Postby electronicboy » Wed Jul 29, 2015 11:29 am

select the object, copy using the keyboard (e.g. ctrl-c) and paste into notepad or something
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Surfaces

Postby FRA32 » Tue Aug 04, 2015 1:07 am

Long walls of codes cant be dispalyed in the propertys menu as it was never coded to zoom , so I recommend selecting the shape and then copying it into any medium that can hold text. It could even be another shape holding it as its text variable. Then you can scroll down the list of stats and look for the surfaces attribute. Then you can alter it and use the whole list as a scene.addPolygon method.
FRA32
 
Posts: 229
Joined: Wed Dec 03, 2014 9:51 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 19 guests