AutoCAD Inventor :: Batch Rename Assembly Components Using API
Apr 16, 2013
I have a machine assembly with old part naming. Now we have a new part naming system. So i am supposed to rename all existing parts, assemblies to new naming system.
E.g. : A machine assembly with old names (lets say part1, part2..... part1000). It has to be renamed to new names (say item1, item2.....item1000).
"part1" should be renamed as "item1" and so on.
Design assistant is not a good option because its a lot of manual work, its same issue with using Vault.
View 4 Replies
ADVERTISEMENT
May 7, 2012
Is there any way to group assembly components?I'm aiming at a live mass calculation for different level of details/design views.In this case I'v got an assembly with about a ton of stainless steel spread out on different subassemblies.
I have made representations showing only the welded stainless steel and I would like the weight of these to appear in the partlist. Not the weight of the complete subassemblies.
View 2 Replies
View Related
Mar 7, 2012
How could I rename a hole assembly and all parts (pre- or suffix)?
View 2 Replies
View Related
Mar 15, 2013
I am working on a large plant piping project and while I've seen this behavior before I've never seen it this bad.
Attached is a screen shot of a small portion of the assembly drawing in which you can see a good example of what I'm dealing with.
At the top you can see a weld neck flange that appears to be attached to air where there should be an elbow. In the middle you can see that on one side of the elbow there is missing geometry.
At the bottom is another flange that attached to air where there should be an elbow. This drawing is littered with these errors and as such is unsuitable for even a reference document.
I have turned visibility of these components off and on without resolution. I have turned on tangent and interference edges without resolution.
I have translated a copy to ACAD to see if it's simply graphical but the ACAD file shows the same errors. I have checked parallel and perpendicularity and all is well.
Inventor 2012 Pro 64bit (Build 219 - SP2)
Vault 2012 Pro Admin
Windows 7 Pro 64bit
Quad Core processor 2.26 Ghz
16 GB DDR3 RAM
1.5 GB Nvidia Quadro FX 4800 (Driver Version 9.18.13.1090)
2 – 320 GB SATA drives
View 3 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
Oct 6, 2011
I want to all thumbnails to have White Background.
I can Open and save each file but that will take me for ever.
Can it be done with iLogic?
View 8 Replies
View Related
Mar 28, 2008
I'm running Inventor 2008 SP2. Each time I open the assembly 2 subassemblies always explode. You can see the red and blue subs in the attached picture. I thought this was supposed to be fixed by now. Actually I thought this was supposed to be fixed in R11 a long time ago. When I grab and drag either component, everything snaps back to where it's supposed to be.
If this isn't fixed (along with a laundry list of stuff that's been broken since R10) you will be losing customers. This and all the other bugs have cost me countless hours in lost productivity.
View 9 Replies
View Related
Apr 9, 2013
In Inventor 2012 I know that it is possible to arrange assembly components in a circular or rectangular pattern. But is there a way to arrange these components in an oval pattern?
View 5 Replies
View Related
Jul 26, 2012
I need to modify all the ipt in an assembly, but I don't kow how many ipt I have, and I don't know the name. Can I have with iLogic the list of all the ipt used in the assembly ? For example, to modify the Part Number in all the components.
The code should be like this :
For All component in Assembly
...
...
Next component
View 3 Replies
View Related
Jan 16, 2012
Here is the history. I originally created a part with multiple solid bodies.
After creating it I was told we needed to make it an assembly. So what I did instead of recreating each component I called up the original multi-bodied part and did save as copies.
Then deleted the portions of the model I didn't need with only the part needed left.
Then I took all of those parts and assembled them together to form an assembly.
Now, here inlies the problem. When I go to make a drawin gof this assembly all of the balloons are coming up with the same item number as it was when it was a multi-bodied part.
It is clearly an assembly based on the model tree and the file extension.
View 9 Replies
View Related
Jul 6, 2012
Currently I have some code which loops through all sub components of an assembly and sub assemblies. However I only need sub components inside the top level assembly and not any sub-assemblies. Is there an easy way to acomplish this?
This code will list all sub components inside an assembly when a drawing is open.
Dim oDocument As Document Set oDocument = ThisApplication.ActiveDocument Dim oRefDocs As DocumentsEnumerator Set oRefDocs = oDocument.AllReferencedDocuments
Dim oRefDoc As Document
For Each oRefDoc In oRefDocs debug.print oRefDoc.FullDocumentName Next
View 7 Replies
View Related
Jan 12, 2010
It seems to me that the basic exclude component no longer works when deriving assemblies. If I cycle through components it is not possible to get the Grey circle with the backslash through it?
IV2010 SP2
Dell Precision PWS690
Quadro FX3500
DirectX 178.46
Spaceball 5000
Intel Xeon 3GHz
4GB RAM
WinXP Pro SP3
IV2014 SP1 64bit
Dell Precision T7500, Geforce GTX 480, DirectX11 306.97
SpaceExplorer 4.04, 3DxWare 3.12.2
Twin Intel Xeon E5506 2.13GHz, 12GB RAM, Win7 Pro SP1 64bit
View 3 Replies
View Related
Oct 25, 2011
I'm using I-logic to suppress components in an assembly. I've attached a screenshot with 3 suppressed components.
In the browser the parts are suppressed but in the BOM (items 6,7,9) they are not. Is there a piece of code for this?
View 5 Replies
View Related
Dec 12, 2012
How to rename the files of an assembly without effecting to assembly, as we do it in solidworks explorer.
View 9 Replies
View Related
Nov 14, 2011
I'm a playground designer and we're currently in the process of updating our systems to Inventor. Over the next few years I'm going to be working on many different assemblies all using the same parts and sub assemblies, many of which need to share the same ground plane.
I'm wondering if there is any easy/quick way to make certain parts (not all) automatically constrain/flush to the ground/XZ plane when I place them?
View 2 Replies
View Related
Apr 15, 2013
I want to create numerous custom properties for a part. Some of these will be the same for all instances of the part (i.e. vendor, part number, etc). But some have to vary from instance to instance.
So, as an example - if I place 5 identical tanks into my assembly I need to assign unique text entries for each of these 5 instances (i.e. TANK-01, TANK-02, TANK-03, etc)
Furthermore, all these textual properties have to be able to be shown physically on the part (for identification on plots) and extractable for BOMs, etc. It seems that any custom i Properties I set up are global for all instances of the part.
View 1 Replies
View Related
Oct 6, 2013
Long time Autocad user but now am moving most of my work across to Autodesk Inventor.
Some of the work I do is with companies that their parts are standard components that will not change.
So I am using Inventor to automate the drawings based on their requirements. For example if it needs to be 4m high. then to use 2 x 2m sections. Currently I have create different assemblies of the different potential heights that I can switch between using ilogic but I need to be able to shift the top truss arch depending on how high the truss is.
View 1 Replies
View Related
Feb 15, 2013
I was just wondering how to place a component into an assembly using ilogic? If this is possible, is there also an option to choose if iMates will be generated?
I would ideally like to place a list of components into an assembly, the list with probably exist in excel, then have iMates set to 'Automatically generate iMates on place' so that my assembly assembles automatically.
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
View 7 Replies
View Related
Jan 28, 2013
I am currently working on a parametric assembly using i Logic to control the size of the components as well as patterns. However, I have hit a road block in trying to figure out how to write a rule for resizing the last roof sheet in this assembly pictured below to be even with the frame. The rule below is what controls the roof sheet pattern based on the frame length. The problem I am continually running into is how do you modify a part which is in an element within the pattern without having it affect the rest of the parts in the pattern since they all refer to part. I can get since it is hard to find information on i Logic.
Roof_Pattern_Spacing = Roof_Sheet_Width
Roof_Pattern_Count=Ceil(Parameter("Length")/Parameter("Sheet Metal Roof Section:1", "Roof_Sheet_Width"))
(Note: The red line symbolizes where I would like to have the roof sheet end.)
View 2 Replies
View Related
Jun 14, 2013
Assembly comprised of multiple components all derived from the same master sketch "4 Inch Rail Master Sketch"
Using the sketch to drive geometry, using the parameters to drive various extrude lengths.
Geometry changes seem to propogate quite well, while parameter changes do not...is this a bug or am I doing something wrong? Generally have to open each individual part and "edit derived part" to force changes to propgate...
files attached (move end of part marker down for all .ipts).
View 9 Replies
View Related
Jan 6, 2012
I have tried the Frame Analysis for the first time and quit from this option as requested.
BUT now the subassemly consisting frame and all its parts are grey even after restarting Inventor.
Here is some bug. [URL] ....
View 6 Replies
View Related
Aug 26, 2013
I am trying to make a dxf from each sheet metal part in an assembly with ilogic: (I have cut and and paste different codes from this forum in an poor attempt...)
Sub Main
Dim oApp As Inventor.Application = ThisApplication
Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument
For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments
If oSubDoc.DocumentType = kPartDocumentObject Then
Dim oPartPropset As Inventor.PropertySet = oSubDoc.PropertySets("Design Tracking Properties")
Dim oPartParam As Inventor.PropertySet = oSubDoc.PropertySets("Inventor User Defined Properties")
[code].....
View 2 Replies
View Related
Feb 4, 2013
Bulk/batch rename styles and is it time consuming? I work in a multi-lingual office where it would be advantageous for people to work in their native tongues but it does make working on someone else's civil 3D file difficult if you don't know the language.
View 3 Replies
View Related
Feb 19, 2013
I'm not sure if it possible although I am trying to rename layout tabs an easier way. Say I have layout tabs A01 to A99 and I want to insert another layout tab at position A20. I need to rename (the old) A20 to A21, then A21 to A22 then A99 to A100 etc.
Any fast way to do this or a lisp that does this.
View 2 Replies
View Related
Feb 29, 2008
I would like to batch rename all blocks in a drawing to NEWJOB01, NEWJOB02 ,etc. I can't use wildcards with RENAME command because the old names don't always have a common name. I prefer to use a lisp routine.
View 9 Replies
View Related
Oct 22, 2009
I am working on a large project where a 3rd Party firm has turned over 100s of drawings that we need to get into our system. The problem is that they did not name their physical files properly. We have a particular numbering system for our drawings, the engineering firm did fill in our attributed title block properly and used our numbering system correctly within the drawing. However, their physical file name follows their format. We need to have the physical file name match the information in the title block to get into our system.
Is there a way to "Batch Rename" these files by reaching into the title block and then renaming the physical file to match the attribute?
I have to be honest, I may use AutoCAD 50 to 60 hours per week, but I am no programmer! I am just the go-to person here for AutoCAD whom is stuck trying to come up with a efficient solution for the project team whose engineering firm could not follow our procedures! I was hoping some sort of batch routine could take care of this problem for us instead of us having to individually rename each physical file one by one.
View 9 Replies
View Related
Jul 25, 2013
I'm working with a designer, how to do an urgent batch rename. I'm the project manager rather than a designer so, I don't have the design tools to experiment myself and it's rather urgent. This is the issue:
We have 300+ images. There's a one-digit difference between the low res file names and the high res, color-managed files the designer needs to relink on Monday. In every case, there's a 0 missing before an underscore - so Day Two_0012 has become Day Two_012. This is an easy fix in the file-renaming software I use but I'm in a different city and it's much simpler if the designer, who uses Adobe Creative Suite, does it at her end.
View 3 Replies
View Related
Jun 10, 2004
I need to rename a group of .jpg images (about 1000 or so) to fit the names of other associated files.
I have a list of the new names for the files in Excel, and I wonder if I can use Photoshop to automatically rename the current filenames in ascending order to the new names in ascending order (the number of files and the number of names in the list will be the same, and will be in corresponding positions). It is perfectly acceptable to generate them as new .jpgs rather than rename existing ones.
Can I do this at all? Rename based on a sorted database?
I am new to the batch/automate process and am using Photoshop 7.
View 9 Replies
View Related
Jul 9, 2013
I know that I am being really obtuse, but batch renaming a set of files really eludes me.My Canon 5D2 has now taken over 20000 images, so I want to place a number before the present file number.eg _MG_2459.CR2 to _MG_022459.CR2. This is easily done in Bridge, but I cannot workout how to do such a simple thing in Lightroom.
View 2 Replies
View Related
Mar 25, 2006
I am having a problem using the batch rename in Photoshop CS2. I am selecting files in Bridge, using copy to other folder, and using sequence number and file extention. I am trying to change .jpegs to .tiffs . The transfer seems to work, the files show up in the new foder but I get an error message in Photoshop saying the files are invalid when I try to open them. I tried converting to .psd but the same result-the files are there but invalid.
View 1 Replies
View Related
Oct 17, 2013
I imported a batch of file with the file name ©garylittle....nef I need to remove the ©garylittle from the name for the whole batch. F2 doesn't seem to do the job for me. I had before used Bridge becuase it has a much much more well developed file name faciltiy that LR does not have.
I guess one of my questions is "can I use Bridge and have it recognize renaming in LR?"
BTW, there are hundreds of these files so you can see I cannot do each one seperatly and even if I did, the F2 doesn't work right.
View 7 Replies
View Related