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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.