AutoCAD .NET :: How To Set AssocArray Path Parameters
Oct 18, 2012
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?
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.
I have many drawings that were created with the xref's as full path and I need them to be relative path. I would just go in and reatch them as relative path but the drawings are complete and there are different layers frozen in each one.
I have found a way to convert FULL to RELATIVE using XRP2004.lsp but not the other way round. Main reason I want to do this is to change the Relative to Full, move the drawing and then revert them back to Relative.
Actually, I have more than 6 years experience on Catia V5 customization and vb and vb.net catia API's. What I am trying to do know is converting some applications or programs running on catia to the inventor.
The first program deal with the inventor API relating to the SweepFeatures class. So my first problem is about to find the right way to use the sketch3D for the creation of the path which is the input of the sweep method.
I know That is possible to create a path by using the CreatePath method when the input is SketchLines or any guide curve in the 2D Plan. Also, I tried to generate path by using the ProfilePath3D method of the sketch3D class but No way, the AddUsingPath method of the SweepFeatures Class doesn't accept it as path Input.
So I cannot imagine that is limitation of inventor because it was possible to do it by using the seep function of the model tab in the ipart document. How to create the path object as an input of the AddUsingPath method of the SweepFeatures class.
I am attaching a File as a xRef. At the time of Attachment, I select attach as attachment, and No Path in Path.
Now if I try to fetch detail of this file using MdiActiveDocument.Database and BlockTableRecord, I gets only file name not the path. However, In AutoCAD we can see the file path under "Found At". Can we read / fetch this using C#.
In case of Full Path or relative Path, I gets full path in btr.PathName
Here is my code and I am using AutoCAD 2013
Database db = acadApp.DocumentManager.MdiActiveDocument.Database; using (Transaction Trans = db.TransactionManager.StartTransaction()) { BlockTable BlkTbl = (BlockTable)Trans.GetObject(db.BlockTableId, OpenMode.ForRead,false,true); db.ResolveXrefs(false, false);
When creating a work path on a new layer, the path is a grayish black color is there a way to create that path to be a different color, yellow for instance? Using CS6, I don't see it in preferences anywhere
I have some negative space I created(black area, see first image) that I want to fill with type, not just a simple fill.
Basically I want to create the negative space from a bunch of small minus signs(-) that need to line up as they go across. If I type on each path one at a time as the text doesn't line up that way. This needs to be one continuous path. (see second image)
Unfortunately if I add them together, it creates a compound path, which you cannot type on, unless I am mistaken? So I need them to be a path, not a compound object.
I'm trying to stroke my work path with a brush I tailored myself. now, when I create a workpath from my text layer and switch to my top layer to try and choose 'stroke path' the option is shaded out.
I have a bunch of material libraries that need to be re-pathed as I have moved my textures, the Bitmap/Photometric paths editor has a tickbox that says "include material library" which leads me to believe that it will list, for re-pathing, all materials in my library.
However, it doesn't seem to do anything for me even though the library i need to re-path is loaded into my Material/map browser.
I've tried every permutation of copy and paste; I renamed the path to path. It looks like a path when I add stroke, but it does not behave like one. I can't cut it or join it to any other path. It remembers it's text path status. I'm running OS X 10.7.5.
I accidentally converted a path to a text path. I searched the forum for how to convert it back to a regular path. The answer I found said to select the path and hit Command+C+F. This gives me another text path! I now have at least 6 copies of the path in my files but they are ALL text paths and none are visible with a stroke.
I'm trying about 8 hours to convert a Photoshop shape in to a working path in order to put a brush border around it. I don't understand why the "stroke path with brush" is grayed out and not usable directly on the shape path itself.
"Load path from selection" is not an option because it deforms my path.
I want to be able to transpose the perspective of the existing image to my new 3D prism shape.Why can't I create a path.. and then drag nodes on that path.. and warp the pixels at the same time???
It shouldn't apply to just 3d.. because I should be able to draw a rigid path around anything and warp / stretch the image from those points.
Why the "Text along path" feature hovers the text so far above the currently active path? (in my case, the space between the path and the text is about 3 times the height of the currently used font!). I've been told that the letters should lie on top of or at least closer to the path instead. How can I move the text closer to the path?
I've got two paths. They don't intersect, exactly, a straight path ends at a curved path, but I need the end of the straight path to be curved, to make it look like the two meet perfectly. The two gray paths (a single path, then path->offset for the second) are the outside of a shield shape. The two black lines (paths) just surround text, but currently they overlap the gray paths.
Having made a (ex circular) closed path within a (ex square) path, I want to turn this into a selection in which the inner circle is omitted from the selection. But when choosing "Make Selection", only the first option,"New Selection" is available, the other three are grey (Add to, Subtract from and Intersect).
I'm wasting time having to place my image in Illustrator then manually line up the clipping path. You used to be able to save a file with a clipping path as an EPS in photoshop, select "retain vector data", place in illustrator and hit cmd Y to see the clipping path. I need the image and the clipping path in Illustrator and the image is too complex to create a mask in Illustrator. I tried to save it as an EPS but "retain vector data" is grayed out.
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)'.
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?