SOLVED!
Script 2D: visualize custom parameter

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-14 02:51 AM
‎2018-12-14
02:51 AM
I created an object with a custom text parameter "name_family" that indicates the category of the object (external, internal, etc.).
Can I view the text of this parameter in 2D?
For example, for the height of my object, in the 2D script I have this command
IF GLOB_SCALE = 51 THEN
text2 0.35, 0.17, STR("%0.2m", SYMB_POS_Z)
ENDIF
Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-14 04:12 AM
‎2018-12-14
04:12 AM
You should just be able to replace your string variable with your parameter name. Depending on the text, you might need to first assign it to a Textblock then assign that to the Text2.
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.
Ling.
If _return = 1 then SET STYLE Standard rot2 90 add2 0, ProWidth / 2 t = (hLength - hLength2) / 2 text2 t, 0, ProLengthT DEL 2 endIF
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2 REPLIES 2
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-14 04:12 AM
‎2018-12-14
04:12 AM
You should just be able to replace your string variable with your parameter name. Depending on the text, you might need to first assign it to a Textblock then assign that to the Text2.
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.
Ling.
If _return = 1 then SET STYLE Standard rot2 90 add2 0, ProWidth / 2 t = (hLength - hLength2) / 2 text2 t, 0, ProLengthT DEL 2 endIF
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-14 12:48 PM
‎2018-12-14
12:48 PM
Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10