Bonjour Georges,
For the "Annotation tool with polygon instead of 2 lines (if 2 lines)", it is because previously the polygons can't have arrow and therefore this tool used 2 lines, the first with the arrow and the second without. Now the 2 lines are replaced with a polygon.
Theoretically arrows from 4.80 files will be read by RealCADD 4.90 but for instant there is a bug. I am surprise because I have tested this and at one time that worked... I will upload a new beta.
Thanks
Cordialement.
Next version of RealCADD
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
Eric Pousse
-
- Posts: 702
- Joined: Sat Dec 03, 2011 9:19 pm
- Location: Maine USA and Suffolk England
- Contact:
Re: Next version of RealCADD
Hi Eric
Scripts & Arrows Script "ArrowLeft True or False" and "ArrowRight True or False" don't seem to recognize the new arrows – at least in my "Auto" script they don't![Confused :?](./images/smilies/icon_e_confused.gif)
Cheers -- George
Edit Another thing with arrows I've just noticed. If you are using a filled arrow and you hit ⌘Z to undo something, then ALL the arrows on the drawing become unfilled. You don't have to be undoing a line with an arrow - undoing anything will do it. I'm using the filled arrow on the left. They turn into the unfilled version on the right.
And - regarding scripts, my Auto script (which you made the basics of) draws a line with an arrow each end, with a number (the length of the line) superimposed over it with a white background and grouped. I experimented a bit. If you draw a line and superimpose a number over it and group them – you can still draw arrows on the ends of the line afterwards. But if you do the same thing and give the number a background colour – then you can't apply arrows afterwards. Perhaps this is why the script doesn't work? Actually it doesn't have to be a number – any filled object does the same thing.
The script is:
RCAD script
1.00
Georges_1
autoup.bmp
autodown.bmp
5
0
1
Font
Size
Format
Trailing text
Leading text
Helvetica
9
#
Dim s_x, s_y, s_l, s_t as double
Add_Line(Firstx, Firsty, Lastx, Lasty, 0.01, 7, False, True, True, 100)
s_x = Global_x(Firstx) - Global_x(Lastx)
s_y = Global_y(Firsty) - Global_y(Lasty)
s_l = sqrt(s_x * s_x + s_y * s_y)
s_t = val(userinput2)
Add_String(userinput5 + Format(s_l, userinput3) + userinput4, (Firstx + Lastx) / 2, (Firsty + Lasty) / 2 + s_t / 2, s_t, 1, False, False, False, 7, 0, userinput1, False, True, 0, 100, 100)
Cheers again -- George
Now I understand! I thought I was missing something fancy that I could doFor the "Annotation tool with polygon instead of 2 lines (if 2 lines)", it is because previously the polygons can't have arrow and therefore this tool used 2 lines, the first with the arrow and the second without. Now the 2 lines are replaced with a polygon.
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Scripts & Arrows Script "ArrowLeft True or False" and "ArrowRight True or False" don't seem to recognize the new arrows – at least in my "Auto" script they don't
![Confused :?](./images/smilies/icon_e_confused.gif)
Cheers -- George
Edit Another thing with arrows I've just noticed. If you are using a filled arrow and you hit ⌘Z to undo something, then ALL the arrows on the drawing become unfilled. You don't have to be undoing a line with an arrow - undoing anything will do it. I'm using the filled arrow on the left. They turn into the unfilled version on the right.
And - regarding scripts, my Auto script (which you made the basics of) draws a line with an arrow each end, with a number (the length of the line) superimposed over it with a white background and grouped. I experimented a bit. If you draw a line and superimpose a number over it and group them – you can still draw arrows on the ends of the line afterwards. But if you do the same thing and give the number a background colour – then you can't apply arrows afterwards. Perhaps this is why the script doesn't work? Actually it doesn't have to be a number – any filled object does the same thing.
The script is:
RCAD script
1.00
Georges_1
autoup.bmp
autodown.bmp
5
0
1
Font
Size
Format
Trailing text
Leading text
Helvetica
9
#
Dim s_x, s_y, s_l, s_t as double
Add_Line(Firstx, Firsty, Lastx, Lasty, 0.01, 7, False, True, True, 100)
s_x = Global_x(Firstx) - Global_x(Lastx)
s_y = Global_y(Firsty) - Global_y(Lasty)
s_l = sqrt(s_x * s_x + s_y * s_y)
s_t = val(userinput2)
Add_String(userinput5 + Format(s_l, userinput3) + userinput4, (Firstx + Lastx) / 2, (Firsty + Lasty) / 2 + s_t / 2, s_t, 1, False, False, False, 7, 0, userinput1, False, True, 0, 100, 100)
Cheers again -- George
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
Bonsoir,
RealCADD 4.90b2 is available.
I think that the reported bugs are fixed.
George, to draw lines with arrows in a script, it is not safe with Add_Line.
Therefore I have added a new method which can be called from a script to add arrow(s) to the last object.
So call Add_Line (or Arc) with ( , , , , , , , False, False, ) to add a new line without arrow (the 2 "False").
and just after call AddArrowAtLastObject(x , arrowAtBegin, arrowAtEnd) where x is the number of default arrow you want and arrowAtBegin and arrowAtEnd are True or False depending your choice.
If you want a different arrow at the beginning and at the end, you have to call 2 times AddArrowAtLastObject.
Cordialement.
RealCADD 4.90b2 is available.
I think that the reported bugs are fixed.
George, to draw lines with arrows in a script, it is not safe with Add_Line.
Therefore I have added a new method which can be called from a script to add arrow(s) to the last object.
So call Add_Line (or Arc) with ( , , , , , , , False, False, ) to add a new line without arrow (the 2 "False").
and just after call AddArrowAtLastObject(x , arrowAtBegin, arrowAtEnd) where x is the number of default arrow you want and arrowAtBegin and arrowAtEnd are True or False depending your choice.
If you want a different arrow at the beginning and at the end, you have to call 2 times AddArrowAtLastObject.
Cordialement.
Eric Pousse
-
- Posts: 702
- Joined: Sat Dec 03, 2011 9:19 pm
- Location: Maine USA and Suffolk England
- Contact:
Re: Next version of RealCADD
George, to draw lines with arrows in a script, it is not safe with Add_Line.
Therefore I have added a new method which can be called from a script to add arrow(s) to the last object.
So call Add_Line (or Arc) with ( , , , , , , , False, False, ) to add a new line without arrow (the 2 "False").
and just after call AddArrowAtLastObject(x , arrowAtBegin, arrowAtEnd) where x is the number of default arrow you want and arrowAtBegin and arrowAtEnd are True or False depending your choice.
If you want a different arrow at the beginning and at the end, you have to call 2 times AddArrowAtLastObject.
Works like a dream Eric
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
PS - I made it a userinput, so I can change the arrows if I want to!
-
- Posts: 702
- Joined: Sat Dec 03, 2011 9:19 pm
- Location: Maine USA and Suffolk England
- Contact:
Re: Next version of RealCADD
Hi Eric
On earlier drawings if you select a piece of text size 9 point, it shows as 14 point in the Text pallet
And also - 4.90 is not showing arrows on drawings made prior to 4.90 (e.g. with 4.80) - they are just showing as plain lines, no arrows
Cheers -- George
Something odd has happened with font sizes. To get 9 point you have to select 14 point from the Text pallet. And if I look at Edit >> Text sizes I have this but the Text Pallet shows this .I think that the reported bugs are fixed.
On earlier drawings if you select a piece of text size 9 point, it shows as 14 point in the Text pallet
And also - 4.90 is not showing arrows on drawings made prior to 4.90 (e.g. with 4.80) - they are just showing as plain lines, no arrows
Cheers -- George
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
Bonjour George,
Cordialement.
I will see that.debenriver wrote: ↑Tue Jun 12, 2018 12:55 am Something odd has happened with font sizes. To get 9 point you have to select 14 point from the Text pallet. And if I look at Edit >> Text sizes I have this
Theoretically 4.90b2 solves this problem... No ?debenriver wrote: ↑Tue Jun 12, 2018 12:55 am And also - 4.90 is not showing arrows on drawings made prior to 4.90 (e.g. with 4.80) - they are just showing as plain lines, no arrows
Cordialement.
Eric Pousse
-
- Posts: 702
- Joined: Sat Dec 03, 2011 9:19 pm
- Location: Maine USA and Suffolk England
- Contact:
Re: Next version of RealCADD
Good morning Eric
I was looking at drawings that I had opened with 4.90b1 and saved as working copies rather than the issued copy – so they got saved with no arrows. I was expecting 4.90b2 to magically restore the original arrows
– but of course there was no way it could do that!
Cheers -- George
I am wrong - it does solve the problem.Theoretically 4.90b2 solves this problem... No ?
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
I was looking at drawings that I had opened with 4.90b1 and saved as working copies rather than the issued copy – so they got saved with no arrows. I was expecting 4.90b2 to magically restore the original arrows
![Geek :geek:](./images/smilies/icon_e_geek.gif)
Cheers -- George
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
And if you open a 4.90 drawing with new arrows or different arrows at the beginning and at the end, RealCADD 4.80 will open the file with some differences but (theoretically) will open it.debenriver wrote: ↑Tue Jun 12, 2018 10:08 am I was expecting 4.90b2 to magically restore the original arrows– but of course there was no way it could do that!
Cordialement.
Eric Pousse
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
Eric Pousse
-
- Posts: 1073
- Joined: Sat Dec 03, 2011 12:31 pm
- Location: Tours - France
Re: Next version of RealCADD
Bonjour,
Again, a new beta : RealCADD 4.90 b4
This version fixes last bug reports and addes the last feature requests...
Again, a new beta : RealCADD 4.90 b4
This version fixes last bug reports and addes the last feature requests...
Eric Pousse