Author Topic: smarter leaders/balloons/notes etc....  (Read 2636 times)

0 Members and 1 Guest are viewing this topic.

uncoolperson

  • Guest
smarter leaders/balloons/notes etc....
« on: May 08, 2006, 05:47:52 PM »
(please don't say "hey that check box there does this"..... been outta leaders and dimensions and such for a few years)

so in my development for the new department

i started to get annoyed by our note/balloon things
picture #1

1) the leaders just not that great
(there's a few hacks to get through this, and probably a right way... didn't find the right way... and i didn't like the hacks)
picture #2

2) they wern't connected, so you had to move the whole thing
(could always make this a single block... but with so many possibilities, that just sucks)
picture #2

3) and if they were blocked, when moving the whole thing to the left or right of leader when originally placed on the other side things got real screwy
(i guess you could mirror... but again i don't really like that sorta thing)
picture #3

after a bunch of yelling
(little yellow pline thing there to show not mirroring)
pictures #4

uncoolperson

  • Guest
Re: smarter leaders/balloons/notes etc....
« Reply #1 on: May 08, 2006, 06:00:45 PM »
ohhh...yeah no code to show yet ( it's ugly)... just wanted to show my latest battle

GDF

  • Water Moccasin
  • Posts: 2081
Re: smarter leaders/balloons/notes etc....
« Reply #2 on: May 09, 2006, 02:48:11 PM »
ohhh...yeah no code to show yet ( it's ugly)... just wanted to show my latest battle

Lookinto the following for some great ideas.

;;; ***  Balloon   [Version 1.52] 1999-11-03  ***
;;; Copyright 1995 - 1999 ManuSoft
;;;
;;; This program creates leaders and encloses the leader text in a
;;; 'Balloon'. If the text has fewer than 3 characters, the balloon is
;;; a DONUT;;  if longer, the balloon is an ELLIPSE. Both text and balloon
;;; continue at the same angle as the last line in the leader. Editable
;;; parameters let you put the balloon on a specific layer, adjust the
;;; gap between text and balloon and the balloon's lineweight, and specify
;;; whether the leader is a block or individual entities.
;;;

Also:

;;; BUB-NOTE.LSP BUBBLE NOTE (c) 2003 Ray Burnstad $50 Bonus Winner
;;; Ray Burnstad

And the best one:

;;; =============================================================================
;;; Filename    :   MultiLead.lsp
;;; Datum       :   06.08.04
;;; Author      :   jme
;;; Copyright   :   MENZI ENGINEERING GmbH, Switzerland
;;; Revision  1 :   06.08.04 jme - Support DimColors & DimTextStyle added
;;; Revision  2 :   __.__.__ ___ -
;;; -----------------------------------------------------------------------------
;;; Description:
;;; Draws multiple leader with arrow or circle.
;;; -----------------------------------------------------------------------------
;;; Global variables:
;;; Me:Fst Me:Nxt
;;; -----------------------------------------------------------------------------
;;; Internal LISP-functions:
;;; MeGetCurSpace MeGetNextLeaderPoint MeDrawTempVecs MeDrawCross MeDrawCircle
;;; MeDrawPolyCircle MeAddMText MeGetTextStrings Me3dTo2dPoint
;;; -----------------------------------------------------------------------------
;;; External LISP-functions:
;;; None
;;; -----------------------------------------------------------------------------
;;; Version notes:
;;; AutoCAD:   Version:   Language:   AddIns:
;;; 2k+      1.01      English      ...
;;; -----------------------------------------------------------------------------
;;;
;;; == Message on loading =======================================================
;;;
;;;(princ "\nMultiAlead/MultiClead v1.01")
;;;
;;; == Sub function library =====================================================
;;;
;;; -- Function MeGetCurSpace
;;; Returns the current space object.
;;; Arguments [Type]:
;;;   Acd = Active document object [VLA-OBJECT]
;;; Return [Type]:
;;;   > Mspace or Pspace object [VLA-OBJECT]
;;; Notes:
;;;   None
;;;


Gary
« Last Edit: May 09, 2006, 02:54:15 PM by Gary Fowler »
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64