AutoCAD Inventor :: OnSelect Event When Selecting Component In Drawing View

Sep 24, 2012

Im trying to catch the event when the user selects a component in a drawing view using

CommandManager.UserInputEvents.OnContextMenu += UserInputEvents_OnContextMenu;

But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?

The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application... 

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Drawing View Component Visibility

Nov 8, 2011

I am using this code to turn visibility of components off in IDw file, what I need top turn visibility of a component of in a subassembly.

'oDrawingDocument = ThisApplication.ActiveDocument
'Get the first view
'Dim oView As Inventor.DrawingView
 'oView = oDrawingDocument.ActiveSheet.DrawingViews.Item(2)

[Code] .........

View 2 Replies View Related

AutoCAD Inventor :: Use API To Check Whether Component Is Invisible (hidden) In Drawing View?

May 23, 2013

I am working on a project to assign balloons to components in drawing view automatically. Of course, I don't want to assign a balloon to a component which is invisible (hidden) in this drawing view.

So, is there any API function to check whether the component in the drawing view is invisible or hidden?

View 2 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 :: Want To Get Component Name By Selecting It In Graphic Windows

Jul 3, 2012

I don't know, what's the correct code, for getting the name of an assembly component by selecting it in the graphic window.The user should have the ability to slect an component and Inventor will give you the name of this component (filename, Screenname or whatever )

View 5 Replies View Related

AutoCAD Inventor :: SelectEvents.OnSelect Not Fired With KSketchProfileFilter In Assembly

Jan 19, 2012

If I open a part and I run my addin the InteractionEvents object allows me to select any type of entities, including profiles.

If I open an assembly containing the same part, enter the part editing on that part, and run my addin, all the selection filters but kSketchProfileFilter work well.

With kSketchProfileFilter when I move the mouse on an area I see the highlight, but when I click nothing happens.

When I right click, then click on Continue, InteractionEvents.OnTerminate is fired.

View 1 Replies View Related

AutoCAD Inventor :: Component Turns Red In Breakout View

Sep 12, 2013

My coworker gets this error:

He makes a detail. In the enlarged view he makes a sketch. He then makes a break out. Within the enlarged view, in the gap which the break out opened up for clarity of the view, are two components that he wishes to make its hidden lines visible. Doing this locks up his machine and makes a single component turn red.

Dell Precision T3600 - Windows 7 SP1, 64x
16GB RAM, NVIDIA Quadro 2000 (driver 9.18.13.3165)
Inventor 2013 SP2 Update 2
AutoCAD 2013 SP2
Vault Collaboration 2013
3DConnexion SpaceNavigator

View 5 Replies View Related

AutoCAD Inventor :: ILogic Component Edge Color In IDW View?

Feb 9, 2012

Is there code for changing the color (or other properties) of the visible edges of a component in a drawing view, the same way I can do it manually by right-clicking a component and choosing Properties?

I wrote this rule to change the color of each individual drawing curve:

Edit: Ignore the "<!".  It's the only way I could get the iLogic code to successfully post in the message
 
Spoiler (Highlight to read)<!Dim drawViews AsDrawingView
For Each drawViews In ThisApplication.ActiveDocument.ActiveSheet.DrawingViews
occ3 = drawViews.ReferencedDocumentDescriptor.ReferencedDocument.ComponentDefinition.Occurrences.ItemByName("GF_Plenum:1")
Dim newColor3 As Color
newColor3 = ThisApplication.TransientObjects.CreateColor(0,255,255)

[code]....

View 2 Replies View Related

AutoCAD Inventor :: Modifying Component Visibility With Custom View Rep

Oct 11, 2011

In my neverending battle to find a way to turn off unneeded components in an assembly, I'm trying my hand at modifying component visibility with a custom View Rep. View reps seemed to pose fewer issues than LOD's (in that you can have a drawing and model open at the same time without a million error messages)......until I tried to make a pattern.

When first placing a new subassembly component into an assembly, it will automatically place in the "Last Saved" View Rep. Since certain parts may be invisible in my "skeletal" subassembly, this is ideal. HOWEVER, when I try to pattern this subassembly, all of the occurrences absolutely insist on displaying at the "Master" View Rep. This makes no sense to me whatsoever and destroys yet another workflow at the 99% mark. I understand that I can change the view rep manually, but manual workarounds and corrections defeat the point of using iLogic to manipulate our models.

Am I the only CAD user who wants the simple ability to "turn off" an assembly component? iAssemblies are not an option due to the shear number of combinations of unneeded components.

View 4 Replies View Related

AutoCAD Inventor :: Create Section View Of Single Component In Presentation File?

Jun 18, 2012

I'm in the process of creating an exploded view of an assembly. I'm having to do this in a presentation file, and I was wondering if it was possible to section one of the parts in the exploded view. To be more specific, I have the majority of my parts spread out around another assembly in the center of the page. I want to get a three quarter section view of the center assembly so the internals are visible. Is this possble from within a presentation file and if so, how can it be done?

Inventor Professional 2013
Intel Xeon W3680 @ 3.33Ghz
12GB DDR3 RAM
NVIDIA Quadro 2000 GPU
Windows 7 Professinal 64-bit

View 2 Replies View Related

AutoCAD Inventor :: Presentation Component Invisible In Drawing

Mar 22, 2007

I created a IPN from an IAM for an exploded view. When I put the base view of that exploded assembly into a drawing, one of the main components is invisible. So when I mouse over the edge of the view, the bounding box does not even reach high enough to possibly include this component. All other components are visible in their correct exploded positions. I tried deleting the view and placing it again, but it does the same thing. The colored and shaded preview just before view placement shows all parts where they should be.

View 4 Replies View Related

AutoCAD Inventor :: Cannot Make Component Sketch Show In Assembly Drawing

Dec 8, 2011

I have a sketch on a component. That component is being used in an assembly. The assembly drawing (.idw) does not show the sketch on that component. I have made them visible on the component, but don't want it visible on the assembly model. (only the assembly drawing)

View 1 Replies View Related

AutoCAD Inventor :: Parent Section View In One Drawing And Child View In Another

May 6, 2013

Is it possible to have the parent view for the section in one drawing and the child views in another drawing?

View 2 Replies View Related

AutoCAD Inventor :: Projected Drawing View Doesn't Show / Design View Rep Don't Update

Sep 27, 2013

After upgrading to Inventor 2014 we notice that the graphics do not work properly, and that the overall performance in drawings and modelling bad compared to 2013. Then we installed SP1 and now drawing views are disappearing, however when we select "shaded" view the view reappears and works perfectly..

Any workaround regarding disappearing views?

View 3 Replies View Related

AutoCAD Inventor :: View Label In Base View / Drawing?

Nov 25, 2008

Each time when I place a part in base view, have to follow few steps; go through view label, format Text, than choose type option - [Properties-Model] and its property - [Part Number], than placing dimensions. it takes long time and very repetitive, especially, when placing a hundreds of parts and I was wondering if there is an option, to set up view label; [Properties - Model ]& [Part number], as a DEFAULT. So, each time placing a part, in base view it will come up with correct label. Also, overall dimensions, can it be retrieve using parameters of the part?

View 4 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 :: 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 View Related

AutoCAD Inventor :: Selecting Point2D With Your Mouse On Drawing Sheet

Dec 18, 2012

How can I define a Point2D with my mouse by clicking on an random place in a drawingsheet?

I have made the code below that creates a DetailDrawingView automatic. I am now searching a method to select the oPoint & oCenterPoint with my mouse. Both are defined as Poin2D.

I find a lot a method's where you can manipulate the Point2D using maths but I never found a method where you can get the Point2D by just clicking somewhere on the sheet (drawingview).
 
Sub AutoDetailedView()' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Manually select a drawing view Dim oDrawingView As DrawingView
[Code] ........

View 7 Replies View Related

AutoCAD Inventor :: Selecting Sheet Size When Starting A New Drawing

Sep 11, 2013

I'm trying to set up a company drawing sheet that requires the designer to select the sheet size before starting the drawing.  Based on the drawing sheet size (A0, A1, A2, A3 & A4 all in landscape) the relevant company Title block will attach to the bottom right of the drawing border.  I've manage to create the relevant forms for parts, sheet metal and assemblies. 

View 8 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 Civil 3D :: Event View In 2012 Is Locked In Place?

Dec 13, 2012

the panorama vista in one of my users civil 3d 2012 is locked in place and cannot be moved.

View 2 Replies View Related

AutoCAD .NET :: Catch Drawing Modify Event

Jul 17, 2013

I want to catch drawing modify event, that means if user start to edit current document I want to give a message to user.

View 3 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 Civil 3D :: Any Way To Transmit Event Icons To Top Item (drawing Name) At Prospector?

Sep 4, 2013

Some times I note the lack of a top warning-icon placed on top of prospector folder.

The idea is, for example, that in case I had a corridor out of date I dont see this "situation" until I navigate up to the corridors/corridor item, so I can forget easily the rebuild need. The posibility to see this icon near the name of my drawing should be very useful. 

Civil 3D (2013)

View 1 Replies View Related

AutoCAD Inventor :: Pin View In Drawing

May 9, 2013

I'm working on a Isometric drawing and im trying to dimension the view. I keep the original view there and cut another of the same view and place that cut view over the original, so I have something to snap to while dimensioning.

Every time i go to place the cut view over the original and i always grab the wrong view and move it and I am wondering if there is a way to pin the original view in place permanently?

View 6 Replies View Related

AutoCAD Inventor :: Make A View In A Drawing?

Sep 6, 2013

Is there a way so that when I make a view in a drawing,

it shows up by default with all it's real lines, instead of having to select the options all the time...

View 5 Replies View Related

AutoCAD Inventor :: Copy View From One Drawing To Another?

Jan 31, 2012

For inventor drawing, is that possible to copy a view from one drawing to another different drawing?

View 2 Replies View Related

AutoCAD Inventor :: Drawing - View Between Two Planes?

Sep 11, 2013

i have assembly and i want make drawing of part of it. Part of assembly i want to show/draw is between two parallel planes. How can i do this?

I'm using inventor 2010.

View 2 Replies View Related

AutoCAD Inventor :: Drawing View Won't Update?

Jan 3, 2012

I've got a macro which is creating .ipt and .idw files from templates. I'm once created I'm replacing the reference in the .idw to refer to the newly created .ipt file. The problem is that the drawing view isn't updating... I've make the .ipt file dirty then udpate the drawing, but that hasn't worked. I've tried just using the drawingdocument.update function, but that hasn't worked either...

View 6 Replies View Related

AutoCAD Inventor :: Sectioned View Rep And Drawing

May 31, 2011

I have a 3/4 sectioned view rep (Locked) in an assembly. On a drawing, When I select the correct view rep,

- I don't get the save view orientation ( though It show/hide the correct parts). I was expecting this because I had locked in 3D

- I don't get to see the 3/4 section.

View 2 Replies View Related

AutoCAD Inventor :: Rotate Drawing View Using ILogic

Jul 11, 2013

Is it possible to rotate a drawing view using iLogic?

View 2 Replies View Related







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