Jump to content
Sign in to follow this  

Colorize Subtext of Text Object

Recommended Posts

In this Example there are used some custom Nodes:


1. "GetSubstring" --> Search for a string inside another string and returns Position and count. This will be necessary to set them to a Text Style Resource.

2. "GetInsideChar" --> Returns strings which are inside specified characters (normally quote or double quote)

3. "GetSubstringExcludeQuote" --> Same as the first one, but it to not return text inside quotes

4. "GetNumberFromString" --> Search for Numbers inside a String.

5. "GetNextObj" --> Put This in a Wrapper and it will return the next object after this node. This is a great one!! Can be used also for input geometry inside a script network. Without naming or other smut.


This could be improved by further code (find standalone or text in word, find integer, find float, etc.) But It works for most cases perfectly.


Bildschirmfoto 2017-01-06 um 00.36.44.png


Youtube Link:








Edited by DomC
  • Like 1

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...