AutoCAD Inventor :: Replace Sketch ICopy
Nov 27, 2011
We get our clients acad drawings of the layout of the ceiling. Normally we use it as xref in acad. Now that I have placed the acad drawing in an .Ipt and placed them in a. Iam like you see in the files I sent. Then i place the panels with iCopy.
Now it happens that the layout drawing changes and I get a new acad drawing. I then replace it with the already placed drawing in the .ipt. This is fine until i update the .iam and then i get alerts that the constraints are no longer correct because the geometry is no longer be found.
What I can do is change the sketch in the .ipt but that is then done manually with the possibility of errors. Now my question is if you know a way to replace the drawing in the. Ipt and update so that the constriants stay correct in the .iam and the panels will change with the drawing?
View 5 Replies
ADVERTISEMENT
Oct 9, 2012
I want to make some icopy tools to suit my needs, i did the tutorial i've found on AUGI "an icopy how to" and then i did a glass panel using the technique i learn there. Everything works fine until i place the icopy on a different plane than the x, y plane.
when i place it in other plane it the icopy behave in strange way. I had this problem since the first icopy test i made and i can't find why it doesn't work.
View 3 Replies
View Related
Aug 3, 2012
is there any way i can use iLogic code to set the "Instance Number" and "Offset" of an iCopy feature i have in my drawing?
View 1 Replies
View Related
Sep 21, 2011
I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013
View 2 Replies
View Related
Sep 20, 2012
How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?
I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations. Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.
I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist. I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.
I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way. I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option. I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.
View 4 Replies
View Related
Dec 3, 2013
I was trying to query some sketch points data from a profile Path using code as below. However the program stopped without telling the reason.
Code below:
i = 0;
foreach (ProfileEntity oSourceProfileEntity in oProfilePath) { switch (oProfilePath[i].SketchEntity.Type) { case ObjectTypeEnum.kSketchArcObject: { SketchArc srcSkArc = default(SketchArc); srcSkArc = (SketchArc) oSourceProfileEntity.SketchEntity; // error points[i] = srcSkArc.StartSketchPoint.Geometry; break; } default: { SketchLine srcSkLine = default(SketchLine); srcSkLine =(SketchLine) oProfilePath[i].SketchEntity; // error points[i] = srcSkLine.StartSketchPoint.Geometry; break; } } i++; }
View 2 Replies
View Related
Aug 1, 2011
First we imported an ".igs" file to inventor, which produced "wires". Then by promoting the wires it produced a 3-d sketch.
The model is in one plane and 2-D, and we are trying to use Ansys 2-D analysis, but in-order to do so it needs to be in a 2-D sketch.
The model is too large to be redrawn on a 2-D plane, how to convert it to a 2-D sketch
View 9 Replies
View Related
Dec 14, 2012
want to change sketch 2013 into the sketch of 2010
View 1 Replies
View Related
May 30, 2013
When I edit certain sketched some other sketches disappear. see attached.
This is causing modelling to slow down as I can not project lines from the sketch that has disappeared.
View 8 Replies
View Related
Aug 22, 2012
After I create a adaptive part from projected sketch. How to modify the sketch? Please see the part attached.
View 6 Replies
View Related
Mar 4, 2012
what is the difference between a sketch and a planar sketch?
View 2 Replies
View Related
Aug 16, 2012
I'm having trouble with constaints, I'd like to constrain my sketch to a point in another sketch on a different plane. Is this posible in Inventor? If so how? If Inventor works differently how would you get a points in one sketch to be linked to points another?
View 2 Replies
View Related
Feb 23, 2012
i have a csv file that has 6 columns, PNEZD and a 6th column which is my notes..i type a star in the data collector after my code, make my note, and then find/replace after i export it and replace star with a column..that gives the desired 6th column in excel that my boss wants....problem is he also wants to see that next to the Full Description in Civil 3d 2012...i tried adding a Point File Format with a 6th Column, User Defined, String for type...named the column Notes...but if i go to edit the point there is no 6th column in the Tool Palette.
View 1 Replies
View Related
Oct 30, 2013
is it possible to replace a model from .iam to ipt in idw?
View 2 Replies
View Related
Oct 31, 2013
Whats the best way to save and replace many ipts and iams with a new name. I would like to select many files in the tree and then loop through each of them.
View 2 Replies
View Related
Oct 6, 2012
I am capturing a book-case design that I made long ago into Intentor. I am almost finished, and I want to produce .dwg files and a bill of materials of parts that can be held.
For various reasons, almost all the items in the existing design are assemblies, and the underlying parts correspond more or less to half of physical parts that are contained inside a repeating cell. I will almost certainly continue using this approach.
A simplified design that shows this is at [URL]..... in the file Display.iam
I created the file Slat.ipt by using derive (Slat.iam).
If I replace the Slat assemblies with the file Slat.ipt, the bill of materials will show parts that correspond to physical parts that I can hold in my hand, or list on an invoice. I can do this with many, many mouse operations.
To make this modification quickly, I attempted to do Component -> replace on the Slat assembly. I use this operation a lot to replace one version of an assembly with another. When I do it with a .ipt file, the system pauses for some tens of seconds, then crashes.
A brute force work around is to use the mouse to do the replacement, essentially rebuilding the entire project in place.
View 1 Replies
View Related
Aug 12, 2009
I am creating an iAssembly with iParts. Some of the iParts have the "Table Replace" colum option and some do not. Both iParts have tables with members and part numbers. See pic.
View 3 Replies
View Related
May 15, 2013
I have 30 families of seals (arf arf!)
I would like to put family A in folder A
I would like to put family B in folder B
etc
During testing I had 10 seals in one folder & used :
Component.Replace("Part1:1", "OtherPartfilename.ipt", True)
But splitting the parts up into different folders breaks the model because (I'm guessing) the part can't be found. My thought was to have one folder (Seals) with subfolder (Seal A, Seal B,etc) - is there a way to search the sub folders & use replace?
If I stick with one folder it will end up containing 300+ parts which will look messy.
View 3 Replies
View Related
Oct 2, 2013
I am trying to replace the title block of the first sheet of the active drawing via C#. I currently am receiving the following error on the last line of The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).
Why the code below is throwing this error? I have tried multiple variations of the code below to no avail and I'm sure this is something minor that I am overlooking. The title block definition under Drawing Resources is replaced with no errors, the title block on Sheet 1 is deleted just fine, but I can't seem to add a Title Block back in!
How Documents are defined:
Inventor._DrawingDocument oDoc = getDoc();Inventor.DrawingDocument sourceDoc =(Drawing Document) instance.Documents. OpenWith Options(sPath, options, false); Find, copy, replace: TitleBlockDefinition tBlock = sourceDoc.TitleBlockDefinitions[blockList.SelectedItem.ToString()]; TitleBlockDefinition newBlock = tBlock.CopyTo(oDoc, true); oDoc.Sheets[1].TitleBlock.Delete(); oDoc.Sheets[1].AddTitleBlock(newBlock);
View 1 Replies
View Related
Apr 24, 2013
I would like to know if there is any possibility to replace a component with another one, that has a different internal name. Losing the dependencies would be acceptable.
ReplaceReference and PutLogicalFileNameUsingFull always return the error "wrong parameter".
View 5 Replies
View Related
Jun 13, 2013
I have an assembly which I want to replace one of the parts with one of four other parts.
My code reads:
Select Case Width
Case "750"
Component.Replace("part:1", "L:Drawingspart2", True)
End Select
This works fine and when 750 is selected, part1 is replaced with part2.
My problem is then if I want to select "1000" I don't know the part name which I will be replaced by part3 as this could be part1, part2, part4,or part5.
View 1 Replies
View Related
Aug 24, 2012
I have some styles I will like to replace in some drawings but how? I cant find any function to do this.
Dim oIDWStyles As Inventor.DrawingStylesManager
Set oIDWStyles = oDrawDoc.StylesManager
Dim oldstyle As style
Dim Newstyle As style
For Each oldstyle In oIDWStyles.Styles
If oldstyle.Name = "Old style" Then
[code].....
View 5 Replies
View Related
Nov 6, 2013
Writing a rule to find and replace text in a dwg?
AutoDesk Inventor 2012
View 1 Replies
View Related
Dec 2, 2011
how to replace a model reference in and Inventor 11 .idw file. - It seems this is something easy to do in Inventor 12 but I don't see how to do it in 11..
View 6 Replies
View Related
Mar 25, 2013
In past I replaced components in Assemblies with this sub:
Sub testReplacePartInAss()
Call ReplacePartInAss("W:INVENTORTPart1.ipt", "W:INVENTORTPart2.ipt")
End Sub
[Code] .....
But if the assembly is a weldment assembly the line
If oOcc.ReferencedDocumentDescriptor.FullDocumentName = sInAssFilename Then
creates an error '91' that the object is not set.
What has to be changed in this code so that it will work with 'normal' assemblies AND weldment Assemblies too.
View 3 Replies
View Related
Nov 15, 2011
During design development dimensions get modified a lot. E.g. shorten something by 25mm I just edit the feature dimension by tagging on "-25" in the edit dimension box. If lots of modifications are made the dimension gets messy since all the edits are saved (e.g. 150 mm - 25 mm +1 mm -5 mm). In sketch mode, I just retype the shown dimension, but for other features like offset work planes, extrusion depth, etc, the actual value isn't even shown anywhere. Is there any easy way to replace the formula with the current dimension value without having to measure the feature?
Basically, I like being able to use the dimension entry box as my calculator, but more often then not, don't want the calculation history saved.
View 9 Replies
View Related
Dec 14, 2011
How do I replace the model reference in a IPN file?
View 3 Replies
View Related
Sep 10, 2012
I need to rename and replace occurences in an assembly, then modify the occurence name.I rename and replace only Farme generator components, which is tested by <condiftion>.What I want to do :
- Num = ABC
- Original filename = toto.ipt
- New filename = ABC_toto.ipt, and Occurence name = ABC_toto
The code :
fileDir contain the file path
docFName contain the original file name (for example, toto.ipt)
Num contain the prefix to add to the name and the occurence name (for example, ABC)
If <condition>Then
New_name = fileDir & Num & "_" & docFName
Call oFileNameOcc.SaveAs(New_name, True)
Call oOccurrence.Replace(New_name, False)
oOccurrence.name = Num & "_" & oOccurrence.name
End If
The problem is, the first time I use the macro, the prefix is added twice in the occurence name (the filename is ok) : I obtain ABC_ABC_toto. This happen only the first time, and only on an orrignal Frame Generator assembly.
If I use the macro again, with for example Num = 123, the result is : 123_ABC_ABC_toto.Where is the problem ?
View 7 Replies
View Related
Oct 4, 2011
how to replace model reference using iLogic in inventor 2012. Basically I have a drawing file whose model reference needs to change with part number(iProperties) .
I've been struggling to perform replace model reference as there is no direct command given for it.
View 1 Replies
View Related
Mar 1, 2012
Can I use an iLogic Rule at the top assembly level to "replace all" of a particular component is that component resides in more than one subassembly? I need a rule to run and globally replace the component in all subassemblies without opening up each subassembly manually. I can run a rule in the individual subassembly that looks like the following:
If GoExcel.CellValue("3rd Party:Embedding 1", "Sheet1", "A2")=800 Then
Component.Replace("Part1:1", "OtherPartfilename.ipt", True)
End If
Is there a way to run a "replace all" command from a top level assembly?
View 1 Replies
View Related
Nov 14, 2011
Is it possible to replace sub assemblies using ilogic - I can only see a link to replace parts?
View 1 Replies
View Related