Butch Posted February 12, 2012 Posted February 12, 2012 Hi! Is it possible to link an object properties (lenght, area, centroid...) to a formula. Eg. I have an object polyline or hatch with its area. I want that area value to be inserted as a value A in my equation wich will give an final result. Also changing object dimensions will result in automatic change of the result. Is something like this possible inside Autocad, or should I look for some other program. Recomendations... Thanx in advance! Quote
David Bethel Posted February 12, 2012 Posted February 12, 2012 You'll need to look into reactors. They are not for the faint of heart. -David Quote
Lee Mac Posted February 12, 2012 Posted February 12, 2012 This is already possible in AutoCAD, look into using Fields. Quote
Butch Posted February 12, 2012 Author Posted February 12, 2012 You'll need to look into reactors. They are not for the faint of heart. -David What are reactors? @Lee Mac I didnt know that you could insert fields into formulas? Is there any chance of inserting an quadriatic formula into Autocad? Quote
BIGAL Posted February 13, 2012 Posted February 13, 2012 Look into constraints also you can have formulas plus lots of other Autocad linked stuff. Given length of line "a" side "b" is a^2-56 Quote
Butch Posted February 13, 2012 Author Posted February 13, 2012 BIGAL can you direct me to some learining material on this matter,plase... CInstrains, linked stuff (first time I hear aboth this)... Quote
Stefan BMR Posted February 13, 2012 Posted February 13, 2012 Some example using fields. Stretch rectangle and regen drawing or _updatefield rectangle prop.dwg Quote
Lee Mac Posted February 13, 2012 Posted February 13, 2012 @Lee MacI didnt know that you could insert fields into formulas? Is there any chance of inserting an quadriatic formula into Autocad? Yes, see Stephan's post for an example. For the method of how to insert another Field into a Formula Field: Type FIELD at the command-line Under 'Field Category', select 'Objects' Under 'Field Names', select 'Formula' Type your formula in the 'Formula' panel Where you need to link to a property, right-click in the 'Formula' panel and click 'Insert Field': Quote
Butch Posted February 13, 2012 Author Posted February 13, 2012 What aboth inserting quadriatic formula? This would probably be mine final goal. Possible? Quote
Lee Mac Posted February 13, 2012 Posted February 13, 2012 What aboth inserting quadriatic formula?This would probably be mine final goal. Possible? Yes, just type the quadratic into the formula field. Quote
BIGAL Posted February 14, 2012 Posted February 14, 2012 Not taking away from fields, menu "Parametric Constraints" like above draw a rectang you basicly dim the L X W you can then apply rules say w= 1/2 L change one the other auto changes draw a circle in a plate and edge distance is always 1/2 RAD. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.