Object Wall Marker
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 02:08 AM
2009-08-27
02:08 AM
I am trying to create a wall marker object that will allow the text inside to remain in a logical readable direction (not upside down) whatever angle that you place it. I am a beginner in GDL Scripting though have used similar in the past on other programs. Could some one advise me as to how to do it, show me the way to an example or otherwise assist it would be greatly appreciated.
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 02:37 AM
2009-08-27
02:37 AM
Try this (AZ scales W sets rotation)
AZ=tz*10/A_
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "display""Arial",az,2,0
STYLE "display"
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 Then
ROT2 180
AZ=tz*10/A_
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "display""Arial",az,2,0
STYLE "display"
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 Then
ROT2 180
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 03:30 AM
2009-08-27
03:30 AM
Randy,
Thanks for your reply, I have tried to incorporate but does not seem to be working. Can you have a look & see what I might be doing wrong.
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "AGwall""isocpeur",1.75,5,0
STYLE "AGwall"
text2 0,0, text1
FRAGMENT2 1,0
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 then
ROT2 180
endif
Thanks for your reply, I have tried to incorporate but does not seem to be working. Can you have a look & see what I might be doing wrong.
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "AGwall""isocpeur",1.75,5,0
STYLE "AGwall"
text2 0,0, text1
FRAGMENT2 1,0
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 then
ROT2 180
endif

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 06:56 AM
2009-08-27
06:56 AM
You need to place the text after the rotation.
If you don't need the fragment image rotated then leave that where it was before the rotation.
Barry.
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "AGwall""isocpeur",1.75,5,0
STYLE "AGwall"
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 then
ROT2 180
endif
text2 0,0, text1
FRAGMENT2 1,0
If W~>110 and W~<271 then
DEL 1
endif
If you don't need the fragment image rotated then leave that where it was before the rotation.
Barry.
!!!!!!!!!!!!!!!!!!!
DEFINE STYLE "AGwall""isocpeur",1.75,5,0
STYLE "AGwall"
!!!!!!!!!!!!!!!!!!!
If W~>110 and W~<271 then
ROT2 180
endif
text2 0,0, text1
FRAGMENT2 1,0
If W~>110 and W~<271 then
DEL 1
endif
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 07:24 AM
2009-08-27
07:24 AM
Barry,
Thank you for your reply.
But as I had found earlier when playing with the position of the text that when positioned as you have shown it rotated both the marker & the text contained within. When the object of the exercise is to have the Triangle part of the marker pointing at a wall & the text rotated such that it is logically positioned & not upside down.
Thank you for your reply.
But as I had found earlier when playing with the position of the text that when positioned as you have shown it rotated both the marker & the text contained within. When the object of the exercise is to have the Triangle part of the marker pointing at a wall & the text rotated such that it is logically positioned & not upside down.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-08-27 08:09 AM
2009-08-27
08:09 AM
To Barry & Randy,
Your help was very useful & have now succesfully fixed the Wall Mrker.
Thanks a lot for taking the time to post a reply.
Regards
Wayne
Your help was very useful & have now succesfully fixed the Wall Mrker.
Thanks a lot for taking the time to post a reply.
Regards
Wayne
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-09-27 03:53 AM