News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Assign to Layer Based on User Input

Started by Machine, June 12, 2020, 07:38:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Machine

Hello, I'm not quite sure if this is correct sub-forum...
Here's a small thing that maybe someone out there will find interesting/helpful

Formulas that assign Shape to a layer based on given input (Layer's name)
Second cell (findLayer) is generated from "create_find" cell.
"LayerId" is a counter/index used with "!Layers.Name"
When writing formulas manually watch out for correct cell names (those underlined in pic) - otherwise it will not work.

My plan was also to generate entire list of all available Layer and put it in Prop.Input.Format, but unfortunately it seems to be impossible within Shapesheet.

It is not much, but hope you'll like it :)

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 133 (show)
Files included: 35 - 1407KB. (show)
Memory used: 1053KB.
Tokens: post-login.
Cache hits: 15: 0.00386s for 26,741 bytes (show)
Cache misses: 5: (show)
Queries used: 18.

[Show Queries]