AutoCAD Inventor :: Derive Assembly To Part And Save As Step With ILogic

Dec 6, 2012

When we send 3D models to customers, we always derive the assembly to make it 1 solid part, so the customer cannot disassemble it to copy our product, and then save it as a step file.

I want to Derive an assembly to a part and then save it as a *.step file with an ilogic rule.

I worked out the last part, but i cannot find the Derive assembly code anywhere.

Im not an experienced programmer, i can only Copy paste, so if the solution is already posted in a simular rule, i will not be able to pick what i need from the code

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Derive Part Using ILogic?

Nov 10, 2011

I need to derive a part in a model (not assembly and as a separate solid), to remove it and make a cavity. However, I need inventor to prompt what file is to be derived through iLogic.

View 5 Replies View Related

AutoCAD Inventor :: Pass Properties From Assembly To Derive Part To IDW Drawing

Aug 10, 2012

I am using inventor 2013, and I have some model and like the word say they are model that i will use as derive parts to machined or change depending on the model. then I make the IDW drawing from the derived part.

Most os this models are assemblies. what i want is to pass the model number to my IDW drawing of the derived, so i can see from which model the part is derived.

View 5 Replies View Related

AutoCAD Inventor :: Derive Part And Save Separate Version In Vault

Jan 16, 2013

I am trying to take a 3" sq 11 gauge tube that will have a pie shaped cut out of the tube leaving only one wall remaining. The tube then will be bent until the two sections are mated and welded. The tube is going to be processed on a tube laser to have the features cut out. 

The problem is when I bend the tube in inventor I need a straight version of the tube for cad/cam programming and fabrication and not have it affect the bend feature that is placed in the weldment. I do no want to derive a part and save a separate version in the vault. I would like it all to be in one model. 

I try to create a view representation and name it "straight" and suppress the bend feature in the new representation but it changes in both representations of the part.

Is there a way to have two different view representations of the part (suppressed bend feature, unsuppressed bend feature) that I can switch between?

View 3 Replies View Related

AutoCAD Inventor :: ILogic Rule For Each Part In Assembly To Change Part Parameter

Apr 1, 2013

I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)

The one below doesn`t work.

Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub

View 5 Replies View Related

AutoCAD Inventor :: Run ILogic Of Part In Assembly?

Jul 25, 2012

How to run iLogic Rule which I created for .ipt  file in assembly?

As I have a myPart.ipt file with iLogic Rules which could create part1.ipt, part2.ipt, ..... (hundreds of them).

Now, I want creats iLogic Rule in myAssembly.iam to run the iLogic Rules in myPart.ipt in order I could create correct .ipt file to be used in myAssembly.iam.

View 4 Replies View Related

AutoCAD Inventor :: Same ILogic Part In Same Assembly?

Jul 26, 2012

I have the same ilogic part placed in the same assembly, and i am trying to drive two different configurations of the same part and when i apply the configuration it changes both of the parts but to only one of the configurations.

Is there a way to drive them seperately even though they are the same part.

View 5 Replies View Related

AutoCAD Inventor :: Change Part By ILogic In Assembly?

Jul 25, 2012

Before using iLogic, I created lot of iAssembly and iPart. I could change iPart factory member when I need in iAssembly.Now, I want to move everything to iLogic.

how could I change the part by iLogic code?

For example:

I generated "Part1.ipt" and "Part2.ipt",...... (I have hundred of member)

In my assembly, sometimes, I need use Part1.ipt, sometimes I need use Part2.ipt.

Which is the iLogic Code I should to use?

Inventor 2009, WIN XP.
Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory

View 9 Replies View Related

AutoCAD Inventor :: ILogic Module For Part Of Assembly

Jan 9, 2012

I have made an iLogic external module who copy the iProperties from an Excel files, when i open the module from the *.ipt file il works perfectly. But i need this function from *.iam files.

Something like this: when i click with right button in one selected part of assembly i can open the module only for this part and when i save it save the change for all modify part of *.

View 1 Replies View Related

AutoCAD Inventor :: Unable To Derive A Part Containing Only A Block Into A Sheet Metal Part

Nov 15, 2011

I set up our company log which gets embossed on most parts as a sketch block in an .ipt.  The .ipt contains nothing but the sketch block.  To use it, the designer only needs to derive the Logo.ipt file into their part and then use the scale setting to set the derived block to the desired size for that part.  The result is a scalable set of line geometry that can easily be used for extrusion or emboss that is standard for all users.  It works beautifully, that is until you try to use it in a sheet metal part in 2012.

For some reason, when this same part, which works perfectly in normal parts, is derived into a sheet metal part an error pops up stating that, "Selected part does not have any geometry that can be derived."  Say what?

I was able to find a workaround by directly copying the block into the sheet metal part, but you no longer have the ability to go back and scale it if needed.  Even more strange, when the block was copied over, it could not be deleted from the new part.

Is this just a bug with 2012?  Why does it work in a normal part but not sheet metal?

View 7 Replies View Related

AutoCAD Inventor :: ILogic - Running Script For Each Part In Assembly?

Jan 8, 2013

I'm trying to write a script which would process all the ipt files within assembly and launch certain functions according to a ipt file type.

I've already made such script for dimensioning parts which work for standart parts but not for metal sheets.

Here it is:
 
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") Dim oParameter As Parameter For Each oParameter In oSubDoc.ComponentDefinition.Parameters oParameter.ExposedAsProperty = True Next oParameter If oSubDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then Dim d1 = Round(SheetMetal.FlatExtentsLength, 1) Dim s1 = Round(SheetMetal.FlatExtentsWidth, 1) Dim g1 = Round(Parameter("Grubość"),1) FindOrCreateProperty("Długość [mm]", d1, oSubDoc, True) FindOrCreateProperty("Szerokość [mm]", s1, oSubDoc, True) FindOrCreateProperty("Grubość [mm]", g1, oSubDoc,

[code]....

this code distinguishes parts from sheet metal, and launches appropriate functions to get their dimmensions. It just doesnt work for metal sheets somehow. Seems like SheetMetal.FlatExtentsLength is performed from within the assembly, not part as it should be. I must have the addressing wrong. I've tried many things and different functions but nothing works for sheet metal parts.

This code might also be useful for different purposes. I'm also trying to lunch some external scripts for each part within an assembly, but there is no direct function for that (there is one only for internal scripts , based within the file).

View 1 Replies View Related

AutoCAD Inventor :: Moving A Part Connected To An Assembly With ILogic

May 14, 2012

I'm wondering if I can move a part in iLogic or rule via X,Y,Z coords say from it's current location to 0,0,0?

I don't want to use constraints because it simply can't jump from one constraint to the next without blowing up.

View 9 Replies View Related

AutoCAD Inventor :: Changing Part Parameters From Assembly / ILogic

Jun 12, 2013

Is there a standard command or command sequence that allows for the changing of a parameter, say length, of a component from within an assembly. I'm looking to compile a code that allows for a template to be created, then that template will do changes based on text box input and then save out the modified parts with new part numbers.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Driving Part Parameter From Assembly?

Oct 24, 2013

I have a multi body part that I componented into an assembly. I am trying to get the assembly parameter in this case, "Height" to drive the parameters in the part model. I think I am using the right code but I get an error when I run the rule.

View 5 Replies View Related

AutoCAD Inventor :: How To Check Part Or Assembly Contain ILogic Form

Oct 6, 2011

I've done an Addin which contains a "Place iLogic Component" function. This funcion work properly and the iLogic form is opened at place component time. Now, i would like to be able to open the form after the insertion, for edition purpose. So, i'd like to open the iLogic form of an assembly component (occurence) with the context menu for example.

So, my question is : Is there a way to check if a part or an assembly contain an iLogic form and to open it through Inventor 2012 API ?

View 2 Replies View Related

AutoCAD Inventor :: Running ILogic Rule In Assembly From Subassembly Part

Nov 17, 2011

I have a rule in the top assembly to update & want to run this as a final 'clean up' after various rules have run in sub assembly parts.

I have a rule within a part at the end of the line. I want this rule to goto the top assembly & run the 'Update' rule.

View 4 Replies View Related

AutoCAD Inventor :: ILogic For View Representation Of Part File (in Assembly)

Apr 17, 2012

I have received a great solution from Bobvdd allowing ilogic control of the view rep in a part file (not an assembly file). The code below works brilliantly when the part file is the active document. However when the part is placed in an assembly and the ilogic is run with the assembly active, the code produces no result. How to modify the top 6 lines of code?

Dim oApp As Inventor.Application
oApp = ThisApplication
Dim oDoc As Document

[Code]....

View 2 Replies View Related

AutoCAD Inventor :: Derive Part From Face On Another Part?

Apr 3, 2012

I am trying to derive a part in an assembly from an existing part so that when the first part's geometry is altered the second part will update accordingly.  I have tried to use the derive tool but I only need the bottom geometry of the part to derive a base plate part from and I see no way to select just that face when using the derive tool.

View 3 Replies View Related

AutoCAD Inventor :: Can't Get COG Of Single Part Inside Assembly Using Default Feature Of ILogic

Jul 10, 2012

can't get the COG of a single part inside an assembly using the default feature of iLogic:

centerPt=iProperties.CenterOfGravityOfComponent("part1:1")

Wikihelp states that it's possible to get the COG of a part within an assembly.It doesn't seem to work anytime getting an error on some missing included references .do I need a Sub-Rule inside the single part?

View 2 Replies View Related

AutoCAD Inventor :: Update And Save Assembly Through ILogic In Drawing?

Jul 10, 2013

as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.

In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table. 

doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
 
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.

View 4 Replies View Related

AutoCAD Inventor :: Derive Assembly In 2013 SP1?

Sep 24, 2012

We have found that after installing SP1 for Inventor 2013 is nearly impossible edit derived assembly. It takes very long time for open dialog of Derived assembly, without SP1 it takes approx. 2mins. for assembly of 20000 instances, with SP1 it takes more than 2 hours! This we are able to reproduce on each of our station. And more, there is still not corrected bug with save setting of hole patching range. This setting does not remember min and max value and after re open this dialog the range is set back to default value 10-9999mm.

I have tried ti disable antivir  and all unnecessary services - no effect.

Inventor 2013SP1, Win7SP1 64bit, Eset Endpoint Antivirus 5.0.2126

View 3 Replies View Related

AutoCAD Inventor :: Cannot Derive Vaulted Assembly

Oct 24, 2013

There is an assembly in Vault that I need to derive into a single part to work with our CMM software.

When I try to open up the assembly from Vault, it opens up just fine, with no warning or errors or save prompts, so all part data links should be ok.  However, when I try to derive it there is a part that will not come in.  If I derive the assembly and keep each solid as a solid body, it derives just fine but that is not what I need.

Is there any way to troubleshoot why a file isn't coming in for the derive but works just fine with Vault?  I can't attach the assembly but I will try to attach the process I have recorded and have a screen clip of the error message. Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013

View 1 Replies View Related

AutoCAD Inventor :: Derive Part Color Options?

Mar 22, 2011

How can I get to the option of checking or unchecking the "use colors from source component" in a derived part? I have been looking through the API at the DerivePartComponentObject and see all the other options but the one I am looking for, where to start looking for this?

View 7 Replies View Related

AutoCAD Inventor :: How To Derive Part From Two Other Parts (sketches)

Aug 12, 2013

I often use a number of parts with only one sketch in them as templates for other parts.

I have for instance a template part with a top view sketch and a template part with a side view sketch.

Mostly I can use one of these template parts to derive my parts.

But now I want to creat a part that needs both the top view and side view sketches. So I need to derive from two different parts.

View 9 Replies View Related

AutoCAD Inventor :: Derive Multiple Solids From A Part?

Jan 24, 2013

derive multiple solids from a part. I use the code shown below but it seem as I only can get the first solid in the part that I am trying to derive from.

''More Code'''
' Create a new part document, invisibly.
oPartDoc = m_inventorApp.Documents.Add(DocumentTypeEnum.kPartDocumentObject, , True)
oPartDoc.UnitsOfMeasure.LengthUnits =UnitsTypeEnum.kMillimeterLengthUnits
' Derive the assembly into the part.
Dim oDerivedPrtDef AsDerivedPartDefinition
oDerivedPrtDef = oPartDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents.CreateDefinition(oTopDoc.FullDocumentName)
Call oPartDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents.Add(oDerivedPrtDef)
'''More Code''' 

How can I get all the solids from the part that I am deriving from?

View 3 Replies View Related

AutoCAD Inventor :: Derive IMate From Multi Body Part?

Jun 15, 2013

How to derive only referenced imates to the solid from multi body part.

View 6 Replies View Related

AutoCAD Inventor :: Derive Part Windows Doesn't Show Up

Sep 4, 2012

I created a skeleton and now i want to derive the sketches and planes to other parts. It worked for a while, but now it does not work!

The problem is when I create a new .ipt and then I would like to Derive an other part in it. I click on the file from the browser, it puts the part into the .ipt, well, sort of, it's like a visual effect, but NO Derive window appears afterwards, so I cannot edit which sketch or parameter or planes...etc.. I chose to actually derive to the .ipt.

View 2 Replies View Related

AutoCAD Inventor :: Insert STEP (STP) Part Into Existing Part File?

Sep 11, 2013

The simple question is… how can we insert a step (stp) part into an existing part file? 

The story behind the question is this:

Normally when we get a step file assembly from a customer, if the part has changed, we put our part into Old Versions and save their new step file as our ipt number and replace it in our assembly file.  With Vault, in order for us to maintain the history of the part files, we need to keep the original file so we can’t just delete it or replace it, so now we need to figure out how to get a step file into an ipt.  The Import command on the Manage tab (with 2013 at least?) does not allow import of stp files just yet.

The only other option I can think of is to put the original part into an assembly with the step file, create a copy of the step information in the part file and use it to recreate the new (step based) part.

Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013

View 1 Replies View Related

AutoCAD Inventor :: How To Create Folder In Assembly Tree And Save Virtual Part There

Sep 25, 2013

I`m working on the code that reads a list of virtual parts from Excel and adds required qty into the assembly. So far it looks good, I  just need to know how to create a folder in a Assembly view tree and save virtual part in that folder instead of placing it in the root.
 
Dim occs As ComponentOccurrences
occs = asmDoc.ComponentDefinition.Occurrences
Dim identity As Matrixidentity = ThisApplication.TransientGeometry.CreateMatrixDim virtOcc As ComponentOccurrencevirtOcc = occs.AddVirtual(sVirtPart, identity)

View 5 Replies View Related

AutoCAD Inventor :: Multi Body Cut Derive - Manual Editing In Part

Aug 17, 2012

I have a multi body part with an extruded cut through all solids.  Each solid is derived out to its own part.  I edited the extrude feature in the multi body part and removed one solid from the selection set.  The cut was correctly deleted from the solid, but when I open the part its still there.  The only way to make it update correctly is to manually edit the derive  feature in the part.  Caught it just before it went off for cutting.  2012 SP2, all hotfixes, win7 64 bit.

View 5 Replies View Related

AutoCAD Inventor :: Run Ilogic Rule In Each Part From The Assembly Via External Rule

Dec 6, 2011

I want to simply set a custom iproperty as the Description in each part file within my assembly.  I can do this easily at part level with ilogic but I want to be able to run the rule from the assembly level and all the parts run the rule.  I am struggling to find a way to do this.

I think this may be the best method I have found but I think it must be far easier?

[URL].......

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved