Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Block Question
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Block Question (Read 2353 times)
0 Members and 1 Guest are viewing this topic.
V-Man
Bull Frog
Posts: 343
I exist therefore I am! Finally Retired!
Block Question
«
on:
October 06, 2005, 01:00:25 PM »
I have a block with attributes for placing into rooms. Part of the block is the square footage indicated by (Sq. Ft.) see image below...
The "Sq. Ft." part is just text, not an attribute. Basically I only want the (number value) in the attributes part of the block not the text "Sq. Ft."
The problem is that I need the "Sq. Ft." part to auto adjust accordingly if the value (number) grows bigger and/or smaller. Does any of this make sense?
Logged
AutoCAD 9 - 2023, AutoCADMap 2008 - 2010, Revit 2012 - 2022, Autocad Civil 3D 2023
LE
Guest
Re: Block Question
«
Reply #1 on:
October 06, 2005, 01:07:53 PM »
What is the code draft you have so far?.... it might help us
Logged
V-Man
Bull Frog
Posts: 343
I exist therefore I am! Finally Retired!
Re: Block Question
«
Reply #2 on:
October 06, 2005, 01:43:45 PM »
Currently, I have no code. I wasn't even sure this was a LISP question.
Logged
AutoCAD 9 - 2023, AutoCADMap 2008 - 2010, Revit 2012 - 2022, Autocad Civil 3D 2023
LE
Guest
Re: Block Question
«
Reply #3 on:
October 06, 2005, 02:30:24 PM »
I have no time right now to write some sample code for you, but why you don't use another attribute for the sq-ft part, and use a vba event or vlisp reactor or a routine to update the position, base on the scale of the block....
Logged
Bob Wahr
Guest
Re: Block Question
«
Reply #4 on:
October 06, 2005, 02:43:43 PM »
It would keep it from being perfectly centered, but what about placing the "sq. ft." at a location that would give a centered appearance for an average room size, then right justifying your size attribute? Not the most perfect method perhaps but definitely the most easierest.
Logged
Andrea
Water Moccasin
Posts: 2372
WWW
Re: Block Question
«
Reply #5 on:
October 10, 2005, 11:33:08 PM »
yes...it's possible...
but a little question...
why to put the sq.ft. in simple text and is not included in
the attribute ?
Logged
Keep smile...
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Block Question