TheSwamp

CAD Forums => CAD General => Dynamic Blocks => Topic started by: CHulse on January 09, 2009, 02:59:31 PM

Title: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 02:59:31 PM
Is it possible to pass numeric data from an attribute on to a parameter (linear) with a calculation (such as multiply it by 1.5)?
Is it possible to pass numeric data from an attribute on to another attribute with a calculation?
Is it possible to pass data from a parameter to an attribute?

and if any of this is possible, how please?

Thanks
Title: Re: Linking attributes to parameters with calculations?
Post by: jnieman on January 09, 2009, 03:00:23 PM
Not





yet.
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 03:01:14 PM
well that was easy...
Title: Re: Linking attributes to parameters with calculations?
Post by: jnieman on January 09, 2009, 03:02:55 PM
depending on application, this may help.

http://www.dailyautocad.com/autocad/parametric-blocks/
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 03:15:42 PM
Well, what I'd like to ultimatly do is insert a block and enter a unique ID# (tree number) as a single attribute. Then I'd like it to link to a database, look up other data about the tree and adjust a set of linear parameters accordingly.
Short of that, I was hoping it could take an attribute with a tree diameter and calculate a couple of other parameters from it.

Currently, I just enter the various parameters as calculated in an excel sheet manually into a VBA form that passes them to the block before I place it.

Pipe dreams perhaps...
Title: Re: Linking attributes to parameters with calculations?
Post by: jnieman on January 09, 2009, 03:37:40 PM
There is ="currently"= in Autocad 2009, no way to make "Dimension A" equal to "Dimension B plus 8.44cm"

However, there is a "lookup" function to dynamic blocks that may get you by.

http://www.dailyautocad.com/autocad/dynamic-blocks-and-lookup-parameter/
Title: Re: Linking attributes to parameters with calculations?
Post by: mjfarrell on January 09, 2009, 03:49:22 PM
Is it possible to pass numeric data from an attribute on to a parameter (linear) with a calculation (such as multiply it by 1.5)?
Is it possible to pass numeric data from an attribute on to another attribute with a calculation?
Is it possible to pass data from a parameter to an attribute?

and if any of this is possible, how please?

Thanks

This can be done to some extent with Description Keys in C3D.
You could also do this with a Range Table in MAP.
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 03:52:00 PM
Is it possible to pass numeric data from an attribute on to a parameter (linear) with a calculation (such as multiply it by 1.5)?
Is it possible to pass numeric data from an attribute on to another attribute with a calculation?
Is it possible to pass data from a parameter to an attribute?

and if any of this is possible, how please?

Thanks

This can be done to some extent with Description Keys in C3D.
You could also do this with a Range Table in MAP.


Could you elaborate please?
Title: Re: Linking attributes to parameters with calculations?
Post by: jnieman on January 09, 2009, 03:53:38 PM
oops, didn't notice the C3D tag in his signature... *bows out*
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 03:55:23 PM
There is ="currently"= in Autocad 2009, no way to make "Dimension A" equal to "Dimension B plus 8.44cm"

However, there is a "lookup" function to dynamic blocks that may get you by.

http://www.dailyautocad.com/autocad/dynamic-blocks-and-lookup-parameter/


Cool, I wondered what those were. ...but I need to be able to enter any number from 1 to 100 or more including decimals.
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 03:55:52 PM
oops, didn't notice the C3D tag in his signature... *bows out*

I appreciate the help!
Title: Re: Linking attributes to parameters with calculations?
Post by: mjfarrell on January 09, 2009, 03:58:16 PM
Is it possible to pass numeric data from an attribute on to a parameter (linear) with a calculation (such as multiply it by 1.5)?
Is it possible to pass numeric data from an attribute on to another attribute with a calculation?
Is it possible to pass data from a parameter to an attribute?

and if any of this is possible, how please?

Thanks



Could you elaborate please?

With Description Keys one has use of up to 9 string characters to describe the point. Be default the first  is used to SCALE the point symbol (like a tree), the second to rotate the symbol.

The process with MAP and range tables is a little more complicated.  However one does this through a querry operation.
You can see the Description Keys set up on my site www.primeservicesgloabl.com (http://www.primeservicesgloabl.com) on the free tutorials page found there.

This can be done to some extent with Description Keys in C3D.
You could also do this with a Range Table in MAP.
Title: Re: Linking attributes to parameters with calculations?
Post by: CHulse on January 09, 2009, 04:04:31 PM
Is it possible to pass numeric data from an attribute on to a parameter (linear) with a calculation (such as multiply it by 1.5)?
Is it possible to pass numeric data from an attribute on to another attribute with a calculation?
Is it possible to pass data from a parameter to an attribute?

and if any of this is possible, how please?

Thanks




Could you elaborate please?

With Description Keys one has use of up to 9 string characters to describe the point. Be default the first  is used to SCALE the point symbol (like a tree), the second to rotate the symbol.

The process with MAP and range tables is a little more complicated.  However one does this through a querry operation.
You can see the Description Keys set up on my site www.primeservicesgloabl.com (http://www.primeservicesgloabl.com) on the free tutorials page found there.

This can be done to some extent with Description Keys in C3D.
You could also do this with a Range Table in MAP.



I'll check it out, thanks Michael
Title: Re: Linking attributes to parameters with calculations?
Post by: whdjr on January 12, 2009, 08:51:03 AM
How about creating your own xdata for your specific items?  That's essentially what the Description Keys are if I'm not mistaken.