AutoCAD Inventor :: Changing Positional Representation Of SubAssembly Using ILogic
Oct 11, 2011
The problem
- I have a top level assembly (lets call it '01.iam', which contains a range of subassemblies (e.g. '02.iam', '03.iam' etc)
- The subassemblies have positional representations
- I want to be able to manipulate the pos.rep's from the top level using iLogic.
I found this snippet of code on the forum which works when I create the rule in one of the subassemblies.
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.PositionalRepresentations("MyPosRep").Activate
But I'm having trouble adapting it to work from the top level, as I would like all my rules saved in one place.
View 4 Replies
ADVERTISEMENT
May 30, 2013
what code I would use in an assembly if I want to enable and make visible certain parts depending on the positional rep I am using.
Basically I am having trouble reading the pos rep into an iLogic code
View 5 Replies
View Related
Apr 30, 2013
I am having problems with creating positional representations. I create simple representations that go from closed to open and when I finish creating the animation I have a position representation called WorkPR1 that overwrites any positional representations I have created. What do I need to do to get my representations to be used or how do I modify the WorkPR1 representation to show what I want?
I'm using 2014
View 2 Replies
View Related
Aug 9, 2012
I'm looping trough positional representations in a assembly and I would like to determine if one of them is failing.
View 4 Replies
View Related
Aug 17, 2012
I have an issue where a two positional representations are showing in the spreadsheet for editing, but not showing in the tree view.
I cannot delete a representation from the spreadsheet.
View 3 Replies
View Related
Jul 18, 2012
We are running Inventor 2013 and I am trying to create a simple positional representation of a small assembly. For some reason, the "New" option is grayed out in the positional representation browser.
I can't remember ever having trouble creating them in past releases.....
View 2 Replies
View Related
Dec 12, 2012
I'm configuring a band with different supports. Each support is configured with a range; 600-900, 900-1200, 1200-1500 etc. those ranges can be adjust by 50mm and those steps are specified by the pos reps (see attached image).
All the different supports are put in the top assembly and in this assembly I want to switch between the positional representations. I tried to use:
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.PositionalRepresentations("MyPosRep").Activate
But it won't work. I guess I have to replace "ComponentDefinition" in one way or another to the component name, but I don't know how.
View 3 Replies
View Related
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
Apr 16, 2012
How to change the view rep in an assembly
(using oAsmCompDef.RepresentationsManager.DesignViewRepresentations.Item("Red").activate) -
However I am trying to achieve the same with iLogic in a part file (multi-solid).
View 2 Replies
View Related
Oct 7, 2011
I am using Ilogic to control visibility of a subassembly in a subassembly of my main assembly. It works correctly inside of the subassembly just not from the Main Assembly. If I use IsActive instead it works but I can't use this because the dimensions in the associated drawings lose there attachment points using IsActive. I can change my assembly by removing the middle sub assembly but will require writing a lot more code.
View 8 Replies
View Related
Jul 12, 2013
Is there a way to edit constraints inside a subassembly from the main assembly, using ilogic?
I would like to supress a constraint (let's call it mate:8), which is inside a subassembly. When I right click on that constraint, and select "Capture Current State", it inserts Constraint.IsActive("Mate:8") into my iLogic code. However, there is already a mate:8 in my main assembly, so how can I be more specific so that iLogic knows which constraint I am talking about?
Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer
View 9 Replies
View Related
Jun 4, 2012
I need to suppress a pattern in an 2nd level subassembly. But is only able to do it in the same level where the pattern is placed etc:
If Length < 3000 mm Then
Component.IsActive("1 st level subassembly", "Name of pattern in 1nd level subassembly") = False
End If
But if i do it with an MakePath... etc.:
If Length < 3000 mm Then
Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly", "Name of pattern in 2nd level subassembly")) = False
End If
If Length < 3000 mm Then
Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly"), "Name of pattern in 2nd level subassembly") = False
End If
is it not possible to suppress a pattern by an MakePath?
View 9 Replies
View Related
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
Sep 27, 2013
(in Inventor Pro 2014,64 bit):
I've made an stairs assembly that contains adaptive parts that are all controlled by the assembly parameters.
Here is my assembly and the controlling parameters. The stringers on the side are made with the frame generator and use the "extend" feature to get the appropriate length, as driven by the parameters. The reason I used frame generator is so that I can easily change sizes of the stringers down the road, if needed. I chose to make the parts associative so I could control all of the parameters from within the assembly instead of opening each part separately.
My goal now is to be able to use this assembly (or something similar) as a template to create new sets of stairs, all to be placed in the same main assembly.
I attempted to duplicate all of the parts (append a "2" at the end of each file name and replace components in the new set of stairs with the 2nd version) but ran into problems with the two stringers. I can't figure out what to do to get the Frame00001 and Skeleton00001 to reassociate to Frame00002 and Skeleton00002. So any time I change my slope, the original stairs will end up trying to copy the new stringers instead of keeping the old ones.
how can I make this assembly reference a new frame, and secondly?
View 2 Replies
View Related
Nov 16, 2010
I have a piece of equipment that changes from 24" to 96" with 5 discrete sizes. I am using ilogic to make all the changes required to the part. Any way that I can change the scale of a drawing using iLogic so that it fits better on my drawing and be adjusted every time. I have multiple pages that most of the drawing views need to be changed every time.
View 9 Replies
View Related
Mar 21, 2012
Any way to change the Orientation of a circular pattern with iLogic?
View 1 Replies
View Related
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
Nov 1, 2011
I have set up my assembly file so that it has the master and two other positions. When I switch from position one, to position two, it works fine. But when I go into inventor studio, and try to create an animation by using Pos Reps, it will not do anything.I do sometimes get an error saying that Excel is required. I do have the latest version of Excel installed on my machine.
View 1 Replies
View Related
Jun 18, 2012
I'm having an error with Ilogic parameters.I just wanna change the border and the title blocks with Ilogic. This should be simple. Isn't this?
View 2 Replies
View Related
Aug 26, 2013
I have an issue with Shrinkwrap/Derive when using a Positional Rep.Open the derived part and try to change it to the "work" positional rep.Everything appears to work fine in the "master" rep.I have this problem in a few of my assemblies and was able to track it down to the positional rep usage in the derived part.
View 8 Replies
View Related
Aug 3, 2010
I'm using 2011 pro. When I try to animate a positional rep in inventor studio, it complains that I don't have excel installed. (see attached image) although I do have it installed. I've put the hotfix on for excel, with no effect. I've repaired inventor and repaired excel no fix though.
View 9 Replies
View Related
Oct 1, 2012
When creating positional reps in Inventor 2012 SP1 it rounds them to a 3 place decimal. So If I want the constraint to be at 1.1875 it rounds it to 1.188. Is there anyway to change this to 4 place decimal?
View 3 Replies
View Related
Jun 22, 2006
Is there a way to reorder positional representations in the browser. I'd like to keep them in order of how the assembly will function. That way, it's easier to create the animation in Studio. See attached image.
View 7 Replies
View Related
Nov 7, 2013
Is there some way to do a BOM based on a representation? Also how do I get sub-assemblies to show as the individual parts?
View 2 Replies
View Related
Aug 2, 2004
how do i unlock a design view representation when i can't find where it'slocked. I looked in the design view and i don't see a locked version, viewis listed as "none".
View 6 Replies
View Related
Aug 30, 2013
I'm working in ancient Inventor 2009 and I'm using view representations for all of my .ipn levels. I've accidentally skipped one step and would like to put it in the middle of the others. Is there a way to re-organize the representations. I've attached a picture. I need to insert a representation above the check marked one.
View 5 Replies
View Related
Nov 6, 2013
I am trying to create a representation of 10" diameter insulation that will cover the 3" pipe (the thickest one shown in the attached picture). This pipe has been created using the Tube and Piping environment, so I don't know the best method, if there is one, to do it. I tried doing a sweep using the pipe route's center-line, but ran into complications, I may have not been doing it right. All it really has to be is a visual representation so that I can visually check clearances and for presentation purposes.
View 5 Replies
View Related
Apr 30, 2012
I used to use "Level of detail" to hide components etc for detailing purposes. I now use "Representations" among a few customised views, I have a set search for fasteners.
Question: Is there a way to automate the search (Saved search) and then switch off the visibilty of the items? Preferably some iLogic code?
I have to run the search quite a few times during the design/detailing process, and sometimes things slip through the cracks, esp when I change fastners. (Note, All the fastners are extracted from the CC and saved with a new name and details.) It would be great to just run a rule.
Autodesk Product Design Suite Premium 2014 SP1 Build 222
Intel Core i7 (950@3.07GHz)
Windows 7x64 (Home) - 12GB Ram
Nvidia GeForce GTX 560 Ti (1Gig - Ver:331.65)
View 5 Replies
View Related
Oct 20, 2011
I am trying to create an assembly with different representation. let me take a small example and explain. I am trying to create an assembly with say 2part. 1. A circular base plate of 6in dia (An assembly by itself in my case). 2. A plate on top of that say 4in,3in, 4,5in.
in one representation I want to have the base plate and 4in plate on top with say 0.2in holes going all the way through on 1in bore circle.
In another representation I want to use the same base plate with 3in plate on top with 0.2 in holes on 1.5in bore circle. When I am creating an extrusion in one representation view it is still showing on the other representation too.
I want to know if there is a way to turn off the feature (representation wise) so that when i turn on the 4in plate i can see the 4in holes and when i turn on 3in plate i can see the 3in holes.
I don't want to have multiple ipts for the base plate as i am dealing with an assembly for the base plate. the only difference is the locations of the holes for different top plate. I want to create just one top level assembly.
View 1 Replies
View Related
Sep 19, 2011
I've looked and saw quite a few messeges on the same topic but couldn't find some good resolve : I'm in an assembly, trying to hide/supress some component, and it keeps saying that the view is locked (I do see "lock" logos on all the views) and I should unlock it or create a new one, which I don't want - I want the changes to be on the main "master" view)
How do I "unlock" or resolve it?Right clicking on the view doesn't give me any option to unlock it..
View 9 Replies
View Related
Nov 2, 2011
So after creating a bunch of assemblies with associated presentation and drawing files I was told that each assembly needs multiple representations for different part colors. I would like to be able to change the representation view of my assembly (i.e. from 'Master' to 'Black') in the presentation file I've already made and have the colors update here and in the associated drawing files.
PS - I do know how to change the representation in a new view. So...hindsight 20/20.
View 7 Replies
View Related