Code Question

Mark Douglas

Usenet Archive
Joined
Jul 7, 2003
Messages
48
Reaction score
0
I am wondering if anyone knows a way to accomplish a code what Updates with a Dimension.
Simple Example:

Say I have a Dimension that reads 10'-0"

And I have a object above it

Is there a way to Have like a string of code do..."10'-0" + 6" / 2....And so on

Then have the reading above it Adjust when ever the Dimension Increases or Decreases?

The reason why is we have a code that Gets the Length of a Dimension and passes that number through a Code and Writes it to a Block attribute. Is there a way to have this Automatically Update when the Dimension Changes?

Any help would be much appreciated!!!

Thanks

Mark
 
Now don't ask me to code it, but you could add another attrib to the 'block' - hidden, take the DimText, get handle, stuff it in the block attrib. To syncronize, do a routine that gets the 'block', extract the Handle, Get the object with the Handle, and update it. I do a trick like this for linking Device ID's to Comments - keeps them in sync. Just a thought.
Bob
 
Ha Ha Ha...Bob Yes you have helped me out A LOT....I was just wondering if there is some way to accomplish it...I'll look into it..

Mark

ECCAD said:
Now don't ask me to code it, but you could add another attrib to the
'block' - hidden, take the DimText, get handle, stuff it in the block attrib. To syncronize, do a routine that gets the 'block', extract the Handle, Get the object with the Handle,
 
Ok...this seems a little Advanced for my programming skills....haha Mark
 

Latest threads

Back
Top