AutoCAD Inventor :: Detecting If Component Occurrence Is Virtual Component

Jul 25, 2012

II need a way to tell if a component occurence is a virtual component.

I'm using a For Each loop to cycle through all of the components in an assembly, and if the component is itself an assembly to set the LOD to "Custom". I'm using the definition document descriptor object for this. It all woks fine until the loop comes across a virtual component which doesn't have a definition document, so I need a way to check if the component is virtual and needs to be skipped.Here's the

Option ExplicitImports Inventor.LevelOfDetailEnumSub MainiLogicVb.UpdateWhenDone = TrueDim doc As AssemblyDocumentDim oLOD As LevelOfDetailRepresentationDim oAsmCompDef As ComponentDefinitionDim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesdoc = ThisDoc.DocumentIf.
[code]....

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Replace Bolt Component Occurrence With API?

Feb 22, 2013

is there a way to Replace the "bolt" Component Occurrence with api?

View 2 Replies View Related

AutoCAD Inventor :: Trigger Place Component Triad For Any Occurrence

Oct 21, 2013

I love the new triad function when placing a new part in Inventor 2014: I am now searching to trigger the same function for a part that already has been placed. 

Something like:

1) select component

2) press a button (triggers the macro I now want to write)

3) the triad pops up.

I searched true the Inventor Help & what's new in the API. But didn't find any reference to that command. So I am afraid that it is not yet in the API. Could I maybe emulate it by replacing a component with itself using the place component command + emulating a mouseclick at the same origin as the original piece?

So a piece of code like:

1) get filelocation of selected part

2) get the origin point (x,y,z) of the part

3) get the translation between the origin of the assembly and the part

4) delete the selected part

5) place the part using the place component command (so the triad has been triggered)

6) fill in the filelocation, origin & translation

7) give control back to the user so he can move the part using the triad. 

View 3 Replies View Related

AutoCAD Inventor :: ILogic Assembly Component Occurrence Definition?

Sep 28, 2012

I have a simple code below trying to iterate through all the assembly component and copy the iProperties > Occurrece Name (i.e. "Part1:1") and paste it to iProperties > Project tab > Part Number field for each individual part in assembly.

' set a reference to the assembly component definintion.
' This assumes an assembly document is open.
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition

'Iterate through all of the occurrences
Dim oOccurrence As ComponentOccurrence
For Each oOccurrence In oAsmCompDef.Occurrences
Dim oName As String
oName = oOccurrence.Name
iProperties.Value(oOccurrence.Name, "Project", "Part Number") = oName
MessageBox.Show(oOccurrence.Name, "iLogic")
Next 

The Debug message shows the correct output for every iteration, but when I check each part's properties they all have the Occurrence Name of the last part in the aseembly.

View 4 Replies View Related

AutoCAD Inventor :: Component Occurrence In Drawing View To Hidden Line Style?

Jan 5, 2010

Can this be done? I want to go through the DrawingView Object to get at a subcomponent of an assembly and either set that component to have hidden lines (where needed) or no hidden lines.

View 8 Replies View Related

AutoCAD Inventor :: Programmatically Create Virtual Component?

Mar 18, 2013

I am trying to use iLogic to programatically create virtual components in an assembly. These components will by used as iProperty "buckets" to hold Machine Center specific information to be exported to production planning software. This information is hierarchical in nature and cannot be (conveniently) stored in the assembly iproperties directly.

View 3 Replies View Related

AutoCAD Inventor :: Template / Link Properties In Virtual Component

May 13, 2013

Here in some IAM mine, i need to put a % more of some parts, so I decided to use virtual components for that. It worked great, but I'm with 2 doubts to get faster doing that.

1º - Is there a way to link the properties of a virtual component, to an existing part ? Like mass, part number and some Customs too. That would be easier in this case, when I need just put some more parts without change the modeling visual.

2º - Can I use a template to create a virtual component ? I did some searches, but I just found topics from 2005 that it wasn't possible, but with IV 2013 or even 2014 is that possible ? I have here many custom properties that I always have to create again in virtual components.

View 1 Replies View Related

AutoCAD Inventor :: Browser Component Names Do Not Change After Replacing Component

Jan 26, 2012

We are having an issue when we replace a component in Inventor Pro 2012.  When we replace a component, the name in the browser does not update to the new component.  We've even tried to close and re-open the Inventor assembly and that does not work.  We end up manual double clicking the name in the browser and type in the new component name. 

Inventor Product Design Suite Ultimate 2012
Dell Precision T7500 Workstation
Xeon Processor
16 GB of RAM
Nvidia Quadro FX 5800
Windows 7 x64

View 4 Replies View Related

AutoCAD Inventor :: Using A Solid Component To Cut A Different Component In Assembly

Jan 11, 2013

I am trying to make port rims for pipes that can be swapped in and out of an assembly.  However, the ports will all be different sizes and located differently so I need the cut to be part of the port rim component, but affect the entire assembly it is part of.  I've been trying to get this to work for the better part of a day now,Here's a picture of what im talking about. I'm running Inventor 2008 by the way.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Skip Saving A Suppressed Component / Delete Suppressed Component

Aug 30, 2012

I have an assembly which has a few components suppressed.

My end results is another copy of the assembly (with copies of the all the parts) in another directory

Now i am able to create copies of un-suppressed parts using; (this allows me to SaveAs assembly components which are not suppressed)

DocumentsEnumerator = ThisDoc.Document.AllReferencedDocuments

And save a copy of the assembly using

ThisDoc.Document.SaveAs

I also added the fllowing snippet (which I am not sure what is does), but it does not work for me

Component.SkipDocumentSave = true

 When I open the newly created assembly, I still see the suppressed components in the model browser

I want to either;

Skip saving the of the components in the model browser (i.e. the Assembly)

OR

Delete the suppressed parts in the Assembly, so that they do not save altogether

View 3 Replies View Related

AutoCAD Inventor :: Change LOD In Component?

May 10, 2012

I have an iLogic controlled assembly with sub assemblies that are also iLogic controlled. The main assembly calculates some lengths and turns some subs on and off and then updates all the subs. The subs also calculate some lengths and turn some parts on and off. I have a rule in both the main assembly and copies in the subs that control the LOD to make sure that it's set to custom before anything else runs.

Now I may be misunderstanding something, but it appears that it's possible to have a sub assembly set to one LOD but be referenced in a top level assembly as a different LOD. In other words I have a sub that shows in the top level browser as Master. If I open this sub and set it from within the sub to custom LOD and switch back to the top level assembly it is still set to master there. It appears that this is what my LOD rule is also doing, setting it to custom in the sub but not changing the top level reference.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Component Add

Jan 16, 2013

What I am trying to do is insert a part into an assembly file using iLogic. I basically want to mimic Inventor’s “Place” command using ilogic, maybe something like this:

oPath = ThisDoc.Path & ""
oFile = "File.ipt"
Component.Place(oPath & oFile, False)

View 1 Replies View Related

AutoCAD Inventor :: Different Component Weights On Same DWG

Dec 7, 2011

When we do DWG we may have more than one Assembly on one individual DWG. When going to put the weights on the DWG through the text/Physical Property insert yadayada it keeps referring back to the original assembly. Even after changing which component we want the info to be drawn from, it refers back to the original? Are we not doing this right? Program glitch?

View 3 Replies View Related

AutoCAD Inventor :: Replacing A CC Component

Oct 19, 2010

My office procedures dictate that when we place a content center part that we do so "as custom" for several reasons that are irrelevant to this question (I can expound if needed).

My question is: If I have an assembly with a content center part that is placed "as custom" and I use the component replace tool (CTRL+h) to replace it with another content center part that has already been created and placed "as custom" in another file, how come I get a new CC component that is not the one I selected?

It appears that I am getting a CC part from the same family as the original when what I need is the component to be replaced with the one I am selecting.

In other words: when I say replace "this" with "that", how come I get something else entirely? This functionality works perfectly on non-CC parts.

View 9 Replies View Related

AutoCAD Inventor :: X / Y / Z Component Constraint

Aug 14, 2012

I have an assembly which has components mated to a radial surface, I need to locate the center of a round slot against an axis, I have X Y coordinates, how can I constrain that part to those X Y coordinates?

Attached is a picture of the assembly.

View 3 Replies View Related

AutoCAD Inventor :: Component Was Not Found?

Aug 27, 2013

I'm using replace on a sub assembly but want to write a parameter change to all the parts in the sub assembly as & when they appear.

An error occurs when I try to write a parameter to a part which isn't in the sub assembly - makes sense but how do work around this?

First try was this:
If Component.IsActive("SS_12.5mm Insln:1") = True Then Parameter("SS_12.5mm Insln:1", "Material") = Insulation

but "SS_12.5mm Insln:1" isn't here (by design) - I want a Component.Exists type comand - possible?

View 1 Replies View Related

AutoCAD Inventor :: Component Patterns In Folder

Jun 28, 2011

To be able to folderize component patterns seems to have been surpassed once again in release 2012. However, I am wondering if this is a setting issue yet I cannot find settings for what can and cannot be placed in folders, if they exist. And I wonder if it is a setting issue because during a training class I visibly watched the trainer place component patterns into a folder and once I still cannot do so.

View 9 Replies View Related

AutoCAD Inventor :: How To Simulate Spinning Component

Nov 27, 2012

How to apply forces to a component who is spinning. More specific i am interested in the centrifugal loads distributed over the component.

Take an inducer wheel for a turbocharger. It is a complicated component and very difficult to calculate by hand. it is spinning with high revs, and the rev limit it set by the centrifugal forces acting.

View 1 Replies View Related

AutoCAD Inventor :: Cannot Move Component In Assembly

Aug 12, 2013

I made a new positional representation (maybe it's connected, i don't know), and removed all the constraints from a part, but still can't move it.

It has other parts connected with it, and bolt, but i think i removed the governing constraint, but, cannot move it.

It's an assembly of about 5 parts, should i zip and attach it?

View 5 Replies View Related

AutoCAD Inventor :: Helical Component Pattern?

Apr 19, 2012

I have a sheetmetal assembly with helical shaped parts. I need to place about 50 little brackets and some corresponding rollers along the length of these helical pieces. The spacing is even so a pattern would be perfect, except I don't know how to get it to follow the shape of the part. The brackets are located to slots in the helical parts which were made with a rectangular pattern in the unfolded state. I tried to do a "feature pattern select" but it only saw the rectangular pattern as it is in the unfolded state (a straight line). I then gave up on patterns and started working on manually mating them into place but realized that the geometry of the slot was distorted (theory) and didn't leave me with any useable surfaces.

View 9 Replies View Related

AutoCAD Inventor :: Component Edit In 2013?

Dec 20, 2012

I've just upgraded from 2011 to 2013 and come across this problem.

In 2011 I could edit a component from the top level anywhere in the tree - i.e. From an iLogic rule in the top level, I could edit a component in a subassembly.

This doesn't seem to work in 2013 - I can only edit the first child of a component.

In 2011 I could simply use :
 
compo = Component.InventorComponent("TOP")compo.Edit

View 9 Replies View Related

AutoCAD Inventor :: Modifying Component Pattern Through API

Mar 15, 2012

I have a component pattern with 3 components in it and I need to remove one of the components from the pattern. How can I modify the pattern through the API? I have tried various things but I do not appear to be able to change the pattern.

View 1 Replies View Related

AutoCAD Inventor :: Editing A Component In Assembly

Mar 29, 2012

I'm working on an iLogic application for an assembly. I need some code to edit a particular component occurrence and then open one of that component's iLogic forms.

Basically automating the keystrokes that I'm doing manually (Select, right-click and edit, then open the iLogic form for that part). Do I have to scroll through all occurrences in the browser or is there a way to call that component by name? 

View 6 Replies View Related

AutoCAD Inventor :: Component Suppression Using ILogic

Mar 1, 2012

How can I include component suppression in the idw views? I suppress a component in the ipt or asm, but it doesn't

disappear from the drawing views. Is there a way to carry this over to the drawing?

View 1 Replies View Related

AutoCAD Inventor :: Selected Component Has No Volume?

Nov 21, 2012

I tried to import an stl file into inventor 2013 and it worked. I now have that ipt file that I ahve attached to this thread. The only problem is that now I cannot manipulate my solid (i.e. put holes in it).

View 2 Replies View Related

AutoCAD Inventor :: Derivative Component And Mirrored

May 24, 2012

I have an ipt A and its dwg. I have an ipt B that is the derivative and mirrored ( I use derive command whit flag on mirror part) component from ipt A.

Is there a way to not create the dwg of B ex novo? I have the same dwg but I have to re dimension all.

View 6 Replies View Related

AutoCAD Inventor :: Bending Derived Component

Aug 13, 2013

I was wondering if there is a way to bend a derived componet. I have an odd extruded part and would like to cut and bend it. I want to do it this way so I can also include the cut length before bend. I know of frame generator, but am not able to use it since if falls out of the structure of how our files are saved.

View 5 Replies View Related

AutoCAD Inventor :: Multiple Component Patterning?

Jan 6, 2012

Is there a way to select more then one component when patterning in an assembly?

View 5 Replies View Related

AutoCAD Inventor :: Shortcut Key For Component Visibility

Mar 21, 2013

I'd like to set up a keyboard shortcut so that when I press the 'V' key, inventor toggles the visibility of the selected part or assembly. However, "Visibility" seems to be about the only command that doesn't exist in the list of keyboard shortcuts*. I found this post in which someone says it's not possible, but might be using VBA. I've done some iLogic but know nothing about Inventor's inner-working VBA. I'm wondering if there's some workaround, VBA or otherwise, that'll allow me to toggle visibility using the 'V' key.

*actually it does but it says it's only available for use in Inventor Studio. Go figure. 

Using: Autodesk Inventor 2013 Product Design Suite

View 2 Replies View Related

AutoCAD Inventor :: Place ILogic Component

Dec 28, 2012

Is it possible to skip the small preview window and the parameters display when i place an iLogic component white the command Place iLogic Component.

View 1 Replies View Related

AutoCAD Inventor :: Component Name On Assembly Browser

Nov 15, 2012

I use Inventor 2013 as a single user, my company is about to invest in Vault and we are about to introduce a new automated Part Numbering Scheme as well.

I use a spreadsheet and iLogic rules as ‘Product Configurator’ to generate new iterations of my master assembly.

Now, the Assembly Browser in Inventor may display my assembly tree and its components by Part No or File Name or Default Browser Nod. See attached image.

This can be selected and set on the ribbon: click Assemble tab Productivity panel Rename Browser Nodes.

For example at Top Level Assy I have a rule to run other rules in components. Should I change the displayed components names on the Assy Tree the rules loose reference. So they wouldn’t run.

(for example:    iLogicVb.RunRule("PANEL ASSY 2ndS:1", "Tie Rods & Washer Plates 2ndS")

PANEL ASSY 2ndS:1 is a component with a rule in it "Tie Rods & Washer Plates 2ndS"

This is the default Browser Nod Name and it could also be

-          AAA-0111 --> Part No

-          PANEL ASSY 2ndS.iam:1  --> File name

-          PANEL ASSY 2ndS:1 --> Default

I suppose this can be avoided by not changing from Default, but what an inconvenience should we have to.Unless if there is an other way to reference our components in iLogic?

View 1 Replies View Related







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