AutoCAD Inventor :: Selecting Profile Path Using Interaction Events

Jun 21, 2007

I am in need to select a profile path using interaction events. How can it be done? Is there any filters available for a Profile Path Selection?

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Sweep Profile Not Going Along Path?

Jan 8, 2014

I am trying to sweep a profile throughout the helical sweep path which is a series of 3d sketches. The sweet prifile sweeps correctly to the first 3d sketch profile but whin I select the second line the preview is gone and Inventor gives me an error saying the sweep cannot be done. how I can have the sweep done throughout the helical structure.Attached is the ipt file.

View 3 Replies View Related

AutoCAD Inventor :: User Interaction In VBA?

Jan 26, 2013

I have an assembly file with parts assembled, and I want the user to move and position the assembled part into a position as they desire, and then run VBA to extract coordinates information to do further calculation. 

So, what I want to do is creat a VBA code that does the following in sequence

1. VBA runs code to assemble the parts (I can do this)

2. go to the autodesk interface and allow user to manipulate the part

3. when user presses a key (e.g. "enter", "space"), the control returns to VBA

4. VBA run some code to extract the coordinates and do some calculations (I can do this too)

there is something like an input box that waits for the user to click ok, before continuing to run the rest of the coding. But I realise that the input boxes and message boxes do not allow users to work on the model in the background. Since I need users to move/rotate the part to the desired position, I can't simply use input and message boxes. 

View 4 Replies View Related

AutoCAD Inventor :: Interaction Event Mouse Tool Tip

Jul 17, 2013

How to set a tool tip to show up next to and follow the mouse during user interaction. It's the same function that the CommandManager.Pick does?

If it's not a built in function then I guess it's created by a tool tip that gets moved around to follow the mouse on mouse move?

View 1 Replies View Related

AutoCAD Inventor :: Mouse Interaction When Inserting Part Or Assembly?

Sep 14, 2012

I've been out of the programming game for a few years.  But, using the sample code to place a part or assembly in an assembly by placing it with the mouse should be possible in VBA.

View 1 Replies View Related

AutoCAD Inventor :: Use Custom Embedded Cursor - User Interaction Event

Aug 3, 2013

How to use an embedded cursor (mycursor.cur) via the SetCursor command under user interaction events. I can use built in cursors just not able to get it working with my resource.

Sample below throws an error type mismatch.

oInteraction.SetCursor(CursorTypeEnum.kCursorTypeCustom, My.Resources.mycursor)
 
I have set the build action of the cursor to be embedded.

View 3 Replies View Related

AutoCAD Inventor :: Looking For On Print Events

Nov 6, 2001

How to "grab" the print event (Ctrl-P, File Print or Print icon) from an add-in. I would like to force the user to add some information about the print in a dialog before printing a drawing.

I can't find any application or document events fired when printing like OnSaveDocument, OnQuit in the object browser.

View 5 Replies View Related

AutoCAD Inventor :: Converting Events Macro To Add-In

May 22, 2008

I have obtained a very useful macro from another discussion thread, [URL]....... It automatically names the frame members inserted by Frame Generator. I have modified the macro for our internal naming conventions, but the basic functionality is the same. I would like it to load automatically whenever I am in Inventor and believe an Add-In is the way to go. I have followed Brian Ekins "Taking the Step from VBA to Inventor Add-Ins" paper, but I think I am missing huge chunks on how Add-ins handle events and have been unsuccessful in finding any help topics. How to handle events in an add-in.

View 7 Replies View Related

AutoCAD Inventor :: Rules Triggered By Events

May 9, 2012

how you put the rule in but is there a way to remove the rule. I put one in and I don't like how its acting and would like to remove the rule from the list but I see no way do do so...

View 6 Replies View Related

AutoCAD Inventor :: Listening To Events - Python To Write DXF Files Out

Jun 21, 2012

I wrote a small script in python to write dxf files out. I want to add this to a button on the ribbon. I got that sorted out and can get my button to appear where I want it. I am having trouble calling the script from the button though.

The API tells me that the button has an OnExecute() event that I should listen for to call my script. I have been searching on how to do that from python but I haven't had any luck.

View 2 Replies View Related

AutoCAD Civil 3D :: Selecting Profile By Its Name?

Aug 7, 2011

I am writing a code using VB.net and i am trying to select the profile using its name and i am always having an exception error

ed AsEditor = Application.DocumentManager.MdiActiveDocument.Editor()
Dim mydoc AsDocument = Application.DocumentManager.MdiActiveDocument
Dim mydb AsDatabase= mydoc.Database
Dim mytrans AsTransaction = mydb.TransactionManager.StartTransaction
Dim mycivil As CivilDocument= Autodesk.Civil.ApplicationServices.CivilApplication.ActiveDocument
Try

[code]...

View 9 Replies View Related

AutoCAD Inventor :: Clicking Escape Button Disables Selection Events?

Nov 25, 2013

When I click the Escape button, All the selection events are stopped working. Please follow the steps below reproduce.

1. Create the Select Events Object using the following steps.

m_pCommandManager->CreateInteractionEvents(&m_spiInteractor);
m_spiInteractor->put_SelectionActive(VARIANT_TRUE);
hr = m_spiInteractor->get_SelectEvents(&m_spiSelectEventsObj);
m_spiSelectEventsObj->put_Enabled(VARIANT_TRUE);
m_spiSelectEventsObj->PutWindowSelectEnabled(VARIANT_TRUE);

[code]....

2. Open the part and Select any face in the model.

I get the following event.

STDMETHODIMP CSelectionEventHandler:nEvent_OnSelect(ObjectsEnumerator * JustSelectedEntities,SelectionDeviceEnum SelectionDevice, Point * ModelPosition, Point2d * ViewPosition, View * View )

3. Now click on the Escape button. Now if you try to select any face , no call back is received.

View 3 Replies View Related

AutoCAD Inventor :: Add-in Stops Getting Events In Windows 8 (Enterprise) When Running As Admin

Nov 27, 2013

My add-in is working fine in Windows 7 with or without Run As Admin.

I have created my add-in using VS 2010 SP1.0.

Now, if I try to launch Inventor(w/o Run As Admin i.e just double click) 2014 SP1.0, in Windows 8, my add-in works fine.

If I launch Inventor with Run As Admin, My add-in stops receiving call backs from Inventor.

View 6 Replies View Related

AutoCAD Inventor :: Mouse Selecting / Not Selecting?

May 15, 2012

OK, today, or actually just this afternoon I've noticed it has become much harder to select items with the mouse.

Points, nodes, etc...anything where you'd typically hover the mouse over the item and it highlights for you to select it.

For example, lets say you want to project a point from another sketch, or select the center node of a line, etc.

Never really had an issue until this afternoon where now it seems I have to be right on top of the item and I cannot budge one bit or it won't select it. It is now taking me numerous attempts to select things like points (zooming in does not work, points scale accordingly).

Is there a setting somewhere? I can't seem to find such under Tools>Application Options and the like.

View 8 Replies View Related

AutoCAD Civil 3D :: No Response After Selecting Create Profile View When Creating Alignment

May 16, 2013

Having a rough time with Pipe Networks! I am working an example from the Mastering C3D book (P. 371) as in the following steps:

1.Clicked SS structure(16)

2.Selected Create Alignment from Network on ribbon

3.Selected last structure(18), hit Enter

4.Changed options as needed in Create Align from Network - Create Profile and Profile View check box: Selected

5.Changed options and clicked Create Profile View

At this point the program pauses, then a dialog box trys to partially fill the screen but is all white then fades away as fast as it appeared and I'm stuck with a paperweight that beeps at me everytime I click the mouse, no panning or zooming response at this time. The command line is prompting me for the profile origin. I can switch to other apps and bring up TM and when I attempt to end C3D then it tells me that it can't because waiting for response. I can then cancel the prompt to save the drawing and C3D exits the active command and control is returned.

[URL]
 
Civil 3D 2013 SP 1, 64 bit
Dell Precision T5600, 16 GB
Win 7 Professional 64 bit
Intel Xeon @ 2.0 GHz
NVIDIA Quadro 4000

View 6 Replies View Related

AutoCAD Civil 3D :: 2013 Freezes After Selecting (Select Profile View Origin)

Jul 15, 2013

I have created a pipe network and am now creating an alignment and profile from that network. I follow the steps outlined in help file and when I get to "Select profile view origin" C3D freezes. I can invoke the Task Manager and choose to end C3D, then cancel when prompted to save file and control is returned. But no profile is created. Is it a video card issue maybe?

Seems like it is creating the alignment but freezes before the profile is created - In Prospector there are aligments in the misc category from multiple tries but no profiles associated with them. When it occurs I can't zoom or pan in C3D but I can switch to another app.

Civil 3D 2013 SP 1, 64 bit
Dell Precision T5600, 16 GB
Win 7 Professional 64 bit
Intel Xeon @ 2.0 GHz
NVIDIA Quadro 4000

View 5 Replies View Related

GIMP :: Selecting Just Single Line For Converting Into Path

Apr 11, 2012

Let's say you just have a simple black line in Gimp. You then use the color select tool to select it, and you plan on then converting that Selection into a single line Path.

From:

Into:

You select the line, but the Selection tool actually travels a loop around the line. So, when you turn that Selection into a Path, you do not have a single line, but you instead have a loop.

So my question is this: is there any mechanism for making your Selection in GIMP just a single line so that it can then be converted into a Path?

Originally, I was trying to achieve this in Inkscape (and started a thread about it in the Inkscape forum). However, it appears that, although other Vector Art programs can achieve this, Inkscape cannot. So I was thinking that I could instead use Paths in GIMP instead, but this is not possible because of the nature of Selections, as far as I can tell.

Here's an attempt to illustrate this request:

View 5 Replies View Related

GIMP :: Selecting Path For One Island In Merged File

Dec 10, 2011

I have some paths covering several shapes (Islands, to be precisely), and they've been merged into a path file and bounced over a few documents. I'd like to select the path for just one of those islands so I can move and scale it. Is there anyway to separate one closed path for the others in the same merged file?

View 4 Replies View Related

AutoCAD Inventor :: How To Create Path (from Sktech3D) As In Input To Add Using Path

Feb 9, 2012

Actually, I have more than 6 years experience on Catia V5 customization and vb and vb.net catia API's. What I am trying to do know is converting some applications or programs running on catia to the inventor.

The first program deal with the inventor API relating to the SweepFeatures class. So my first problem is about to find the right way to use the sketch3D for the creation of  the path which is the input of the sweep method.

(oInvPartFeats.SweepFeatures.AddUsingPath(oInvProfile, oInvProfPath3D, kNewBodyOperation).

I know That is possible to create a path by using the CreatePath method when the input is SketchLines or any guide curve in the 2D Plan. Also, I tried to generate path by using the ProfilePath3D method of the sketch3D class but No way, the AddUsingPath  method of the SweepFeatures Class  doesn't accept it as path Input.

So I cannot imagine that is limitation of inventor because it was possible to do it by using the seep function of the model tab in the ipart document. How to create the path object as an input of the AddUsingPath  method of the SweepFeatures class.

View 1 Replies View Related

AutoCAD .NET :: How To Remove User Interaction Part From A Code

May 14, 2013

I have got this code by KEAN WALMSLEY.His code will ask user to select a block and then list all of selected block's attributes. However, I need to tweak his code a little bit and instead of user interaction, the block has to be selected by its name and through my code.

Here is his code (with slight changes to suit my purpose):

rivate Sub ListAttributes()Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor Dim db As Database = Host Application Services.WorkingDatabaseDim tr As Transaction = db.TransactionManager.StartTransaction() Try Dim filList As TypedValue() = New TypedValue(0) {New TypedValue(CInt(DxfCode.Start), "INSERT")}Dim filter As New SelectionFilter(filList)Dim opts As
[code]....

 Now, I need to change this Sub to a Function as below:

Private Function ListAttributes (blockName As String) As Boolean

The aim is to list all block attributes if the 'blockName' exists in drawing and return True afterwards. Oppositely it should return me False and print nothing to Editor if blockName does not exist.

View 5 Replies View Related

AutoCAD Civil 3D :: Parcel Segments And Feature Lines - Interaction

Apr 27, 2007

C3D 2008

Create Parcel Segments using the Slide Angle Create command
Create a Feature Line in the same Site that bisects any/all of the Slide Angle Create Segments
Save, close and reopen the drawing
Parcel Segments now terminate at the intersection of the FL

Not sure if this is as designed, and I don't recall this behavior in 2007. We have used FLs to assign elevations to Parcel Segments in 2007, looks like this is no longer possible.

View 3 Replies View Related

Photoshop :: Freehand & PS Interaction

Feb 1, 2004

What method do you guys use for exporting Freehand(MX) files into Photoshop (CS)?
I've tried exporting as editable eps, psd(v. 4 I think it is) and simply to cut and paste, but everything comes out terrible when transformed from vector to pixel.

View 5 Replies View Related

3ds Max Modeling :: Changing Loft Profile Part Way Along The Path?

May 23, 2012

I'm building a test track to use on a driving simulator.I'm trying to apply banking to the corners. The track's path is a loft with it's path defined as a line, and the loft shape is a rectangle to represent the cross section of the track. I'm trying to apply banking to the corner by using a different shape part way along the loft... however, the result is that the track twists the wrong way so that the top of the track becomes the side and vice versa.

[URL]

Autodesk 3DS Max 2012 Student Version

View 2 Replies View Related

Maya Animation :: Character Physical Interaction?

Sep 4, 2011

I recently watch a movie with a couple of dinosaur characters fighting each other, and now I wonder: dealing with a lot of potential geometry interpenetration scenarios?

How do you deal with characters physically interacting with each other, as in two characters fighting, or hugging? Do you know if there is any nice tutorial covering that subject? I do not mean about clothing. That's a matter of dynamics and simulation.

regarding characters interacting with objects. Imagine a human character lifting a huge heavy barrel. The arms around that barrel should look like pressing against it. Or a person stepping up an extension ladder.

View 1 Replies View Related

AutoCAD 2013 :: Handle Events On Viewport?

Jul 29, 2012

I want to handle events on viewport.

When I resize my viewport the event must be triggered.

I'm using Qt in my project. So to display the QWidget in appropriate position I need events to do it.

View 1 Replies View Related

AutoCAD Civil 3D :: Save Events As Text?

Jun 20, 2013

Is there a way to save the events from the Events Panorama?

Civil 3D 2012 SP 3
Dell Precision T7400, Xeon CPU 3.16 GHz
Win 7 Pro, 64-bit,12 GB RAM, Nvidia Quadro FX 4600

View 3 Replies View Related

AutoCAD .NET :: Can't Capture Key Events In Windows Form

Mar 15, 2012

I have created a basic add-on that shows a modal windows form. The only issue I am running into is that I am completely unable to capture any key events in the form. I just want to make the escape key close my form, but I'm having no luck. Here is my basic setup:

 <CommandMethod("myCommand")> _Public Sub myCommand() Dim myForm As Form1 = New Form1Autodesk. AutoCAD. Application Services. Application.ShowModalDialog(myForm)End Sub

Then in the form code, I have this, for testing purposes:

Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress MsgBox("keypress") End Sub
 
I've also tried KeyUp and KeyDown. Key presses are working inside the form (I can use the keyboard to select an item in a combobox, for example), but I never hit the event handlers.

View 4 Replies View Related

AutoCAD 2010 :: Global Events VBA Not Working

Jan 21, 2012

I am running Windows 7 6t4bit and AutoCad 2011 64bit. I am not able to confirm an ACADDOCUMENT_ENDCOMMAND event has fired. Any reported issues out there?

View 1 Replies View Related

AutoCAD .NET :: Table Cell Events For 2011

Dec 3, 2011

I am trying to find out which Cell in a table is being / has been modified, in AutoCAD 2011 with C#.

I have subscribed to the Table's .Modified event, but when this is triggered by modifying some MText in a Cell, the Table's .HasSubSelection property is false and its .SubSelection property throws an exception. Conversely, modifying the MText in a Cell does not trigger the Table's .SubObjectModified event.

I noticed a class called Autodesk.AutoCAD.Internal.Reactors.TableSubSelectFilter which has a event called CellSelected, but how to instantiate such a class for the Table and subscribe to this event.

How Autodesk intends you to determine which Cell of a Table has been modified?

View 1 Replies View Related

AutoCAD .NET :: Plotting Device Information With Events

Apr 23, 2013

how can i catch the plotting information (paper size and scale ... ) using plotting device??

View 9 Replies View Related

AutoCAD Civil 3D :: Multiple Import Events

Dec 19, 2013

I receive text files daily from our survey crew. Importing each point file daily creates multiple import events under the database. Is there a way to combine import events to make it easier when wanting to work with all points ?

I have combined multiple text files in the past then did the import, but I then would receive another file some where down the road that would needed added to the drawing. 

View 2 Replies View Related







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