How to set scale of text of 2D symbol
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-25 11:47 AM
‎2016-02-25
11:47 AM
Can You help me, please? I'm stuck on text contents of 2D symbol linked to object. I've made my 3D object, then I've made 2D symbol with text. I have linked symbol to that. Everything works fine until I want to change the scale of drawing. I've done it in scale 1:5 but when I want to change the scale to 1:20 text is bigger than symbol. Does anyone know how to do fixed text contents?
Just in case, I attached screenshot of my 2D script.
Al the best!
K.
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-25 12:49 PM
‎2016-02-25
12:49 PM
Your script doesn't seem to have any text command in it, so I'm concluding that it's in the macro you've called.
In any case, to get things to change size with the scale, you use the global variable GLOB_SCALE as a multiplier.
In any case, to get things to change size with the scale, you use the global variable GLOB_SCALE as a multiplier.
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-25 02:49 PM
‎2016-02-25
02:49 PM
Hi Bruce,
Many thanks for reply. I'll check what is going on with that script, why there is no text command...
Thank You!
Many thanks for reply. I'll check what is going on with that script, why there is no text command...
Thank You!
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-26 05:07 PM
‎2016-02-26
05:07 PM
Hi,
Let me describe how I do it, because this is might be wrong way.
1. I make the 3D object using morphs - in this case socket.
2. I save selected item as object.
3. I draw 2D symbol using polyline and text.
4. By object manager I'm loading GSM object.
5. I go to properties by alt+cmd+o
6. Then I use fragment2 command in 2D script
7. I paste ready 2D symbol with text to the 2D symbol window
8. I save that as new object.
As I've written in previous post, when I want to change scale of drawing letter in symbol is changing size. I'm not sure where I can use GLOB_SCALE in that script...
Let me describe how I do it, because this is might be wrong way.
1. I make the 3D object using morphs - in this case socket.
2. I save selected item as object.
3. I draw 2D symbol using polyline and text.
4. By object manager I'm loading GSM object.
5. I go to properties by alt+cmd+o
6. Then I use fragment2 command in 2D script
7. I paste ready 2D symbol with text to the 2D symbol window
8. I save that as new object.
As I've written in previous post, when I want to change scale of drawing letter in symbol is changing size. I'm not sure where I can use GLOB_SCALE in that script...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-27 04:20 AM
‎2016-02-27
04:20 AM
Sounds pretty complicated.
In your particular situation I don't know how to help. I would just script the 2D symbol...they're reasonably easy, but you do need to learn a little bit of scripting.
Maybe someone else has a better answer in this particular situation, or maybe one of these may help: https://bimcomponents.com/Search/Socket
In your particular situation I don't know how to help. I would just script the 2D symbol...they're reasonably easy, but you do need to learn a little bit of scripting.
Maybe someone else has a better answer in this particular situation, or maybe one of these may help: https://bimcomponents.com/Search/Socket
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-27 02:18 PM
‎2016-02-27
02:18 PM
Art_graphic:
Using the 2D Symbol window of the Object rather than the 2D Script is very limiting, and not intended for the type of control you want. To create a 2D Script for your Object you have two options:
1. Set up the Plan Window and 2D Script next to each other, then drag the 2D elements from the plan into the 2D Script window, ArchiCAD will write the code for the 2D elements.
2. If the above does not work (it can be a bit tricky), hide all the elements in the plan view except for the 2D elements for your object and Save As... ArchiCAD Object File, again the 2D elements will be converted to code in the 2D Script.
Make sure the 3D elements and 2D elements have a common origin (best to use the Project origin) so they align correctly in your object. You are generating the 2D and 3D separately, it is up to the user to make sure the 2D and 3D correspond.
Scripting in GDL gives you more control over your objects, but takes some time to understand. Getting the scale of 2D text to work as desired is a good small project to start.
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
David
Using the 2D Symbol window of the Object rather than the 2D Script is very limiting, and not intended for the type of control you want. To create a 2D Script for your Object you have two options:
1. Set up the Plan Window and 2D Script next to each other, then drag the 2D elements from the plan into the 2D Script window, ArchiCAD will write the code for the 2D elements.
2. If the above does not work (it can be a bit tricky), hide all the elements in the plan view except for the 2D elements for your object and Save As... ArchiCAD Object File, again the 2D elements will be converted to code in the 2D Script.
Make sure the 3D elements and 2D elements have a common origin (best to use the Project origin) so they align correctly in your object. You are generating the 2D and 3D separately, it is up to the user to make sure the 2D and 3D correspond.
Scripting in GDL gives you more control over your objects, but takes some time to understand. Getting the scale of 2D text to work as desired is a good small project to start.
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-02-29 09:39 AM
‎2016-02-29
09:39 AM
Hi,
Bruce: thank You, anyway!
David: many thanks for reply. I added signature as You'd recommended. I'll try to go in Your options then I let You know.
Thank You!
Bruce: thank You, anyway!
David: many thanks for reply. I added signature as You'd recommended. I'll try to go in Your options then I let You know.
Thank You!