Window Marker Unit Notation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-04-21
05:24 PM
- last edited on
2023-05-26
03:08 PM
by
Rubia Torres
2006-04-21
05:24 PM
cheers,
Daniel
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-04-21 07:10 PM
2006-04-21
07:10 PM
If I edit the GDL I imagine I would have to add a concatenation statement to add the appropriate ' & " to the string somewhere in here:
but I'm probably wrong, any insight? <<== EDIT: I AM Wrong. I tried that and it didn't work.
cheers,
Dan
if gs_working_unit=`Inch` then szov=str("%.32 ffi",AC_WIDO_A_SIZE) inc=strlen (szov) szovv=strsub (szov,1,inc-1) fee=strstr (szovv,"'") szo1=strsub(szovv,1,fee-1) szo2=strsub(szovv,fee+1,inc-1) szoveg1=szo1+szo2 szov=str("%.32 ffi",AC_WIDO_B_SIZE) inc=strlen (szov) szovv=strsub (szov,1,inc-1) fee=strstr (szovv,"'") szo1=strsub(szovv,1,fee-1) szo2=strsub(szovv,fee+1,inc-1) szoveg2=szo1+szo2 szoveg=szoveg1+GS_Separator+szoveg2 endifbut I'm not sure exactly where... probably near the bottom, like possibly szoveg1=szo1 + """ + szo2 +"'"
but I'm probably wrong, any insight? <<== EDIT: I AM Wrong. I tried that and it didn't work.
cheers,
Dan
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-04-21 11:04 PM
2006-04-21
11:04 PM
That's a strange bit of code there.
They are going to some lengths toremove the foot and inch marks. The svov in the second line will have the marks in it as defined by the ffi format string. All that strstr and strsub stuff is designed to get rid of the marks.
To get what you want this simply change the last line before the endif to svoveg = svov.
Or if you really want to clean it up just replace it all with:
They are going to some lengths to
To get what you want this simply change the last line before the endif to svoveg = svov.
Or if you really want to clean it up just replace it all with:
if gs_working_unit=`Inch` then szoveg=str("%.32 ffi",AC_WIDO_A_SIZE)Remember to always work on a copy. Do not modify existing parts unless you are really sure of what you are doing.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-04-26 07:28 PM
2006-04-26
07:28 PM
Thanks for the tip Matthew, after reading what you posted I realised what was going on with the code, I removed the entire If Then Statement and changed it to:
Daniel
if gs_working_unit=`Inch` then szov1=str("%.32 ffi",AC_WIDO_A_SIZE) szov2=str("%.32 ffi",AC_WIDO_B_SIZE) szoveg=szov1+GS_Separator+szov2 endifThanks for all the help...
Daniel