AutoCad :: Linking Constraint Parameters To Action Parameters?
Sep 21, 2011
Im wondering if its possible to link either a constraint dimension to an action parameter or vice versa. Or using a linear parameter's value in an user parameter formula.
Its a 2D cylinder, for winding purposes we just have a rectangle, with a distance from the Y axis for radial.
Parametric dimensions: B=thickness, C=Lenght, R=radius
User parameter: A=Diameter (R*2), Mass in kg ((((pi*(c*b))*(A+B))*1.25)/1000)/1000
For the BOM, i need A, B, C & mass
For drawing references for peoples on the floor, to distinquish a cylinder from a stick, we put lines at the top and bottom of the cylinder, 1mm distance inbetween them.
I figured that making a linear parameter + stretch on the thickness to replace the B parametric dimension, allowed me to make an array of that line, with increments of 1mm as i stretch the cylinder. The thing is that the mass formula cant take the value of action parameters....
Other alternative is to keep the B parametric dimension, and add a linear parameter as above for the array. But then i have 2 places to adjust, and from a test i made, if i change the R dimension, the linear one does not follow. Its very frustrating.
What i was hoping autocad would be able to do is distance1 for array to be same as B dimension, but it does not allow me to do that, unless im missing something.
So i have a box with a left side, right side, top, bottom and a door in an assembly.I've linked all the parameters to the 'right side component' so that when i change it, it updates all the other parts in the assembly.
What I want to accomplish is to be able to use my BASE SIZED BOX ( say 500 x 500 ) to create many different sized boxes.The problem I have is when I save the assembly as a new one and save and replace all the components for the bigger box, all the components still reference the old part ( 500 x 500 right side component) instead of the bigger ( 600 x 600 right side component.
how to link parameters, don't know ilogic, and just know the basics of assemblies and part modeling.
Is there an easy way to remember how to correctly link parameters between 3 or more files? It seems like such a confusing way to do such a simple task. I am going into the parameters of each file and linking or deriving other file properties. Currently I don't have a dummy part file that controls all of the parameters. Maybe that's part of it. I've never done this using excel. Would this be any easier? I am just frustrated with the way I know how and wish there was an easier way to go about it. I keep getting the cyclic dependency warning and somewhat understand what this means, how why it's happening (or how to correct it).
Inventor 2013 Windows 7 Professional 64-bit SP1 HP EliteBook 8470w Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz Memory: 16 GB AMD FirePro M2000 3D Connexion SpacePilot
I want to link the thickness of the material used for a steel structure of to the offset of another steel structure that attaches to that it. I want to be able to change the size and material used for the frame and not have to continually change the offset of the piece attached to it. Is there a way to lind the thickness of one bar to the offset of another?
I'm trying to create a window block with a grille. I've created the block and the horizontal grilles. What I'm having a hard time with is creating the vertical grilles. I would like to set up an array that would take the glass width, divide by 12, round up the value to get the number of vertical sections. Here's the code that I've figured out:
I have a new project coming up where I need to write some simple programs to access the dynamic action parameters in some existing dynamic blocks.I have viewed what I could find on AU, but I still ave not found anything relating in-depth to dynamic blocks.
Any good Tutorials, Articles, or White Papers, on working with dynamic blocks with autolisp/ vlisp? The main function is to access a parameter and change it by entering a numeric value, updating the block. say from a linear/polar stretch, or a linear/ polar move.
I have a block which I want 2 visibility states. VS1 and VS2 share some objects and not others. I have a linear parameter in each which I want to do a stretch action on. The stretch action in each visibility state acts upon entities both shared and unshared between VS1 and VS2. This doesn't seem to work..
I was wondering if it would be possible to do the following:
Parameters who can vary for lets say a rectangular profile with:
80x50x2
80x50x3
100x50x2
That these data sets/parameters are grouped/linked to eachother in the Parametric Table.
So when I'm doing my analyses with the profile of 100 and I change the wall thicknes from 2 to 3mm the 100 changes to the 80 variant automaticly, or asks me which version I want.
It would be handy to avoid mistakes with non excisting combinations of profiles.
Is there a custom app for Inventor that allows you to manage parameters easier? (Grouping wise to keep a better overvieuw.)
Is it possible to add an if then statement to the parameters manager in dynamic blocks in Autocad 2014. For example, in the image below is it possible to put in A1... 'IF Dim1= 0, display 0, else (Dim1-79-50)'.
Associative arrays have a Z direction option which specifies whether to maintain the original Z direction or to naturally bank the items along a 3D path. How to set the AssocArrayPathParameters to match Z direction?
I have what I believe is a good use for block alignment parameters, but I'm having trouble getting it to work the way I want. Let's say I am building a space frame. I start by drawing a series of 3D lines from one node of my space frame to another which defines the center lines of each member of the frame. Then I have a block representing a tubular member of the space frame. I would like to add an alignment parameter to the block such that I can insert a member and align it to one of the 3D center lines. Preferably, I should be able to insert and align in a single step, although it would also be fine if that were two steps. For example, I could first align the block to one of the 3D lines, and then move the insert point of the block to a node point of the space frame.
I am able to create an alignment parameter on my block, but I find I cannot use it to align to a simple 3D line. It will align to the edge of a solid without problem, but not to a 3D line.
My alignment parameter is (I believe) inserted at the insert point of the block. Although, in the Block Editor you cannot seem to specify the insert point directly. Perhaps because I am editing the block its insert point is not available in that mode?
I have a question regarding parameters in a block definition, or more specifically how to constrain parameters. I have attached a PDF showing exactly what I am working on. Basically I have an arm for a monitor which I need to add some parameters to. I need to be able to have a point that I can grab where the "primary grab" is located, and when I grab that I need the arm to pivot at the indicated pivot point, but be restrained by the first arm that is constrained to the circle. Is this possible to do in AutoCAD?
In Autocad there are these parameters you can set, like HPDRAWORDER, HPNAME,..etc. Every time I open my autocad (2012), these values are set to default again. How do I manage to keep these variables registered so i don't need to change them every time I start up?
I've just completed a fairly complicated dynamic block (took me a few days to make actually), and there is a possibility of me cleaning up the quick properties window to have less redundant input dimensions if I simply transfer actions/action bars from one parameter to another. Is this possible to do?
I found this to interesting and proven on having more than 1 Visibility Parameter. [URL] ......
Their block works perfectly, unfortunatelly I was unable to repeat their work. I can't create more than 1 Visibility Parameter on either 2007 or 2012 AutoCAD.
From some reason it does not want to use the defun commands. CAD loads it with no errors, both lsp files but once I'm trying to run those commands (visibility_add or move-parameter) it just gives me Unknown Command error.
I'm not good in Auto LISP, but how to make this piece of art to work ?
Maybe it's a AutoCAD version issue, but like described earlier I was doing the test on both 2007 and 2012 ver.
I'm having some difficulties with iLogic and reference parameters.
I have made a tube with a weird shape and I want to measure the longest length. So I have to cut the tube in a certain angle in relation with the center to measure the length.
The problem is that this angle is really hard to calculate.
So I tried making a rule where I can make my angle shift x degree and then measure the longest length. If the measurement is larger the previous measurement the angle will shift x degree again until the measurement is smaller than the previous.
So I made my starting angle 0 degree, I know this is for a fact not the longest length. And then I tried this rule. (before making a While rule).
And I noticed that on screen the measurement changes. But the reference - parameter stays the same. So it gives me the measurement on the starting angle & after rotating it again gives me the starting angle.
How can I get the parameter to update itself in between?
Dim measurement_length As DoubleDim measurement_length2 As DoubleMessageBox.Show("Start angle ", "My iLogic Dialog", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1)angle_measurement_spec = 0RuleParametersOutput()InventorVb.DocumentUpdate()measurement_length = [code].....
I have lots of files that are linked either by length, height, etc.. Is there an option to delete all linked parameters. I would also like to keep the part history (cuts and extrudes).
I wonder if there is an option to delete all at once like iLogic option-"delete all rules" or should be deleted individually.
I am using Inventor 2009 SP2, OS is XP Professional 2002 SP3.
I copy a file which has lot of parameters, I want to delete some of them, but Inventor Parameters pop up window just has buttom to add a user Parameter, without button to erase one.
Autodesk Inventor Professional 2013 (64 Bit) SP2 Windows 7 Professional Service Pack 1 Intel(R) Xeon(R) CPU E5645 12.0 GB Memory
I am creating a weldment that is controlled using parameters that are linked to an Excel spreadsheet (using Inventor 2012). One of my parameters is the size of the weld bead. I am able to add the parameter to change the visible size of th fillet and groove welds but am unable to have the weld symbols update to show the parameter value. How to add the parameter to the weld symbols? Or is this not possible?
I am currently using Civil 3D 2011 and 2012 but soon making the jump to 2013.In my project I want to able to present a 3D-object from Civil 3D 2011 to Navisworks, eg the body of a road. I am doing this currently with the add-on program from Autodesk Labs named Corridor Solids. The several different 3D-objects that represent the different layers of the road body needs to have a certain set of parameters. For instance, Name, Dimensions, Material and so forth.
Currently, the only thing that I can present in Navisworks is the layer name that I associate to that object when I export it from Civil 3D with Corridor Solids.Is there a way, in vanilla Civil 3D or perhaps an add-on program that I can use to associate more parameters to a solid?