Splines with arrows both ends
Comments
-
Hi Richard,
This can be done with the overrule API and .NET. If you can program a tad (its not too hard), I can attach a quick sample to get you startedDan
0 -
Thanks DanI'm not a programmer by any stretch of the imagination.Not sure how I'd go, all new to me.0
-
Hi Richard,
I created a sample over the weekend, just in case you, or maybe another forum member wants to have a crack at it.
Netload the SplineOverrule.dll and arrows should draw at spline ends
1, the arrow size is based off the current dimension style
2, Arrows currently draw on all splines, but can be filtered, I.e. based on layer or xdata with small adjustments to the code
3, adding text is a bit more difficult but not impossible, I didn’t add it.Cheers
DanCapture.PNG0 -
hello Dan
thanks - looks just what I am after.
I tried to load but gave error message.
Do I need to have the folder in a particular location or can I (should I be able to) run it from my saved folder.
I did move whole folder 'spline' just to C drive to same effect.
From Command Line
NETLOAD
Error Message: Could not load file or assembly 'file:///C:\RS_7\Programs_7\Bricscad\Splines\SplineOverrule\SplineOverrule.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
; ----- LISP : Call Stack -----
; [0]...BRXLOADMANAGEDDLL <<--<br>;
; ----- Error around expression -----
(AL_EXECUTEADSDEFUN "BRXLOADMANAGEDDLL" REST)
;
; error : SDS request returned error at function : BRXLOADMANAGEDDLL
failed to load module C:\RS_7\Programs_7\Bricscad\Splines\SplineOverrule\SplineOverrule.dll
I'm running Win 7 Pro 64 bit.
B'cad Version 14.2.09 (x64) revision 33835
So close and yet so far. Looks absolutely brilliant.
This is a must have for any Cad in my opinion.
How many beers does this cost?
regards
Richard0 -
< ... >
How many beers does this cost?
regards
RichardRichard,Daniel has been known to work for jellybeans, but they must be all black ones.... I have an idea he may prefer beer though ... a case of tsing tao beer if I recall :-)0 -
thanks Kerry
Sorry - Black jelly beans are the only jelly beans I eat and you have to pick them out so not many in a packet.
If it was last week I could have got some from the Chinese delegation that hit our shores and gave all the politicians goose bumps,sending them starry eyed, and solved all our problems for next 20 odd years.0 -
All fixed
I had to Unblock the dll in its Properties.
Works a treat.
This will make my work so much more pleasurable. Might sound minor but it is something I'd use on every job on several instances.
Now! How does one send beer down the internet tube!
Wife's worried I'll make a mess on the carpet.
Seriously though, this has to be worth something. But how?
regards
Richard0 -
- 1, the arrow size is based off the current dimension style
What governs the dimension arrow? Is it possible to change that please?
regards
0 - 1, the arrow size is based off the current dimension style
-
- 1, the arrow size is based off the current dimension style
What governs the dimension arrow? Is it possible to change that please?
regards
Hi Richard,
Its hard coded, I’ll try to get this from the dimstyle, maybe you can post a snapshot of how you would like it to look just in case something weird happens : )
0 - 1, the arrow size is based off the current dimension style
-
g'day Daniel
Thanks for reply. I was really only asking if it is fixed to a dim style? Aware my questioning sounds like a 'well thanks, but I'd like a bit more'.
Certainly not intended as that. I'm just so grateful for your input.
As you've asked though only change would be an open or open 30 arrow - standard Bricscad ones.
( I use a custom arrow for other use. I also don't use dimensions in any drawings, coming from a surveying use, Cad dimensions don't fit with my style of plans and can't be used in our legal documents, so arrows at end of lines and curves are the only way I use dimension lines. Now splines with arrows both ends which for most cases better fit their use)
As mentioned this is a real bonus for me and offer stands as mentioned elsewhere. (Not black jelly beans though)
I've attached part of a typical plan with a spline and arrow (I manually placed a custom arrow at ends for appearance only)
My survey notes are far more detailed and they are where these would be used. Not sure how it will look.
regards
Richardarrows(2).jpg0 -
Thats a bit small
try an enlargementarrows-2.jpg0 -
Hi Richard,
Give this one a whirl.
1, the arrow uses DIMLDRBLK from the current dimension style, if DIMLDRBLK is none, closed filled is used. You can create a user arrow and add it to the current dimension style (Leader Arrow), or use open30 etc…
2, The routine first checks the splines xdata for the application name “DIMSTYLE”, then a string, where the value is the dimension style name, I.e. (setq myxdata '((-3 ("DIMSTYLE " (1000 . "ISO"))))) ..If it can apply the dim style, it will, otherwise the current dimstyle is used
Cheers
Dan
Capture.PNG0 -
BTY, Kerry’s spot on : ) Though these days I also except, Trappistes Rochefort, Brugse Zot. Also Black Liquorice. But… don’t mail it to China as I’ll be hanging my hat in Singapore soon. I don’t have an address yet, but most likely it will be..
The guy with the orange Tommy Bahama shirt, Tanjong Beach, Singapore.
0 -
Dan that is Awesome. Many many thanks. Made my day.
Custom arrow as set to default worked a treat
Brugse Zot- now I know what that logo is.
Other brew sounds interesting.
Singapore- my home town. No contacts now else I'd organise a delivery.
Your next abode setup by ex Aussies
Will have to see what is possible.
So a very big thanks for your efforts.0