AutoCAD Inventor :: Insert A File Into Sketch API

May 30, 2012

I've been doing some searching on these forums for an API to insert an ACAD file into a sketch.

Is there an API call to do this? I found that I can use the command manager with PostPrivateEvent :
 
oCmdMgr.PostPrivateEvent(PrivateEventTypeEnum.kFileNameEvent, sFileName)
oCmdMgr.ControlDefinitions("SketchInsertAutoCADFileCmd").Execute 

It works great for my purpose BUT it doesn't auto constrain the endpoints, which is essential as I need to extrude /sweep after it has inserted.

There is an option to constrain end points when you manually do the import, but the command manager mustn't have any access to options ? So two questions I guess

1. Is there an API to insert an ACAD file into a sketch ?
2. If there isn't, is there another way to constrain the end points to make a loop after the insert?

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Insert DWG In IDW Or Sketch

Oct 30, 2012

My issue is the lack of speed and responsiveness in Inventor when I insert a (piece of an) autocad dwg. I had this issue on several machines the last couple 'o years.

Inventor 2012 lastest service pack
RAM: 24GB DDR3 / CPU: Intel Xeon W3690 @3.47Ghz
Video: NVidia GeForce 680/ HDD: 15.7K
Windows 7 Pro 64-bit

View 1 Replies View Related

AutoCAD Inventor :: Sketch Insert Image Command

Jul 26, 2013

I am attempting to insert an image into a sketch to be used as a decal, but it appears as a blank gray box. I created this image in Photoshop CS5 on my Mac Mountain Lion partition. I am running Inventor 2012 on my Windows 7 64-bit partition.

I appear to only have a problem with that specific image. All other images on my harddrive insert correctly. I have tried multiple file types (.jpg, .png, .gif, etc), but nothing has worked. URL.....It may be necessary to note that the image is white text with a transparent background.

View 5 Replies View Related

AutoCAD Inventor :: Insert Sketch Symbol Using Ilogic?

Aug 15, 2013

I want Inventor to add sketch symbols automaticly on cordinates according to a Custom Text Paramater

for example I have created Custom Multi Value Text User parameter Approved & Not Approved or Plate Work Notes & SteelWork Notes  wich each represent diffrent sketch symbols that needs to be placed out base on the value selected. Each sheet consist of diffrent sketch symbols

View 1 Replies View Related

AutoCAD Inventor :: Insert Sketch Symbol Using ILogic

Mar 21, 2012

insert a sketch symbol to a specific coordinate on a dwg border (top middle of dwg)

Workflow needed is as follows
 
Copy Sketched symbol folder from Standard.dwg from (C:UsersPublicDocumentsAutodeskInventor 2012Templates.Paste into open dwg document and yes to all to overide symbolsPlace a named sketched symbol from drawing resources folder ie (PRELIMINARY) to top center of all sheets within documentreturn to first sheet when complete My new dwg has symbols in correct place so any new dwgs this is ok but we need to add it to hundreds of dwgs when opened or revised,so i want to tie this to external rule and trigger on save event.

View 9 Replies View Related

AutoCAD Inventor :: Converting 3D Sketch To 2D Sketch From IGS File Using Wires?

Aug 1, 2011

First we imported an ".igs" file to inventor, which produced "wires".  Then by promoting the wires it produced a 3-d sketch. 

The model is in one plane and 2-D, and we are trying to use Ansys 2-D analysis, but in-order to do so it needs to be in a 2-D sketch.

The model is too large to be redrawn on a 2-D plane, how to convert it to a 2-D sketch

View 9 Replies View Related

AutoCAD Inventor :: Sketch In A View In IDW File

May 22, 2012

I attached a sketch to a view, fully constrained the lines in the sketch to the PG from the lines in the standard view.

Everything looks good but when I click "Finish Sketch" and it leaves the sketch environment the lines from the sketch shift slightly out of alignment.

The dimensions I have to these lines are in the right locations so it looks like they aren't going to the sketch lines.  But if I try to "connect" the dimensions to where the lines are actually being show it gives me errors saying there is nothing there to connect to.

View 8 Replies View Related

AutoCAD Inventor :: Cannot Insert File Into IDW?

Sep 12, 2013

For some reason I cannot insert a file into an idw. It tells me "cannot modify the library file" "edits not allowed". I even opened an existing and tried to add it in the same idw with the same message.

View 3 Replies View Related

AutoCAD Inventor :: Insert Xref Into A Dwg File?

Jun 25, 2009

I am trying to insert an xref into a dwg file and can not find how to do this. In AutoCADD you can insert an xref that is linked to the file so that when a change is made to the attached file the xref also updates. I am trying to do this in Inventor and have not been able to figure out how to do so.

View 9 Replies View Related

AutoCAD Inventor :: When Copied Sketch Constrained To Source File

Jul 19, 2013

I read what is in the picture in a skill builder, which is:

[URL]

When is a sketch that is copied to another part file linked to the source file?

I tried it, i copied part of a sketch, some lines, from one part file into a sketch in another part file and there was no link

View 4 Replies View Related

AutoCAD Inventor :: Sort Sketch Blocks In A Part File?

Sep 17, 2012

Is there any method to sort sketch blocks in a part file? All of our sketch blocks are numbered with a profile number. When we create a new multi-body assembly we will often derive 50-100 of them into the master file. It would be great if we could sort them by profile number.

The next best solution would be the ability to create sub-folders to place them in by type (sort of like assembly folders), but I'm pretty sure this isn't possible.

View 1 Replies View Related

AutoCAD Inventor :: 2011 - Insert Excel File In IDW

May 9, 2012

Trying to place this .xls file into my idw.  Does not work too well.  Part of the worksheet is cropped off and the images are out of place.

Here is what I'm getting. 

Is there a way to get this to show on the drawing.  I am using the Manage>Insert Object command.

View 3 Replies View Related

AutoCAD Inventor :: Insert A File As Overlay Into Factory

Aug 24, 2012

I am trying to insert a AutoCad file as a Overlay into Factory.

The problem I'm having is the text in the Autocad file scales up and becomes a thick font.....I can't see or use the geometry under the text (text becomes a thick wall above with the geometry below.

The text seems to have a life of it's own..otherwise the geometry is fine. I know there are layer settings that can be turned on/off within factory.

I created a new file and stripped out the text from the AutoCad file to be able to use in Factory.

View 1 Replies View Related

AutoCAD .NET :: Insert Block From External DWG File / Specify Insert Point By Click Mouse

Apr 2, 2013

I write a program, this program needs to insert some standard illustrations. I made these standard illustrations into different blocks. And I store these blocks in a dwg file. Everytime I need to insert some illustrations, I just click the mouse on the current drawing, I want the illustration inserted. These means the following points:

(1) Import the blocks to the current drawing, if the blocks have already been imported, then do nothing.

(2) Specify the insert point by clicking the mouse, and I want the block's insert point to coincide with the mouse clicking point.

View 1 Replies View Related

AutoCAD Inventor :: Edit A Sketch In Multi Body Part File?

May 1, 2012

I am trying to edit a sketch in a multi body part file.  While I am trying to edit, it displays all other solid bodies which is not required.  How to switch them off displaying unnecessary solid bodies while editing a sketch?

View 6 Replies View Related

AutoCAD Inventor :: Place 2D Steel Profiles In Part File As Sketch?

Sep 18, 2012

[URL]

I am looking for the best way to place multiple columns in a single part file (as independant parts). I want to do this to accurately represent a steel structure that we purchase with a single part number. The structure is purchased and not modified so I figured a single part file would be better than an assembly file with multiple parts.

I thought the best way would be to extrude a 2D wide flange beam profile. However I would like to just pick the profile from a database (content center?) instead of going through the hassle of sketching each profile manually.

View 4 Replies View Related

AutoCAD Inventor :: Insert Structural Member Into Part File?

Apr 25, 2012

I'm using 2012 Professional and I would like to know if there is a way to insert a structural member into a part file instead of having to use Frame Generator to get structural shapes from the content center withough having to manuall draw the section view of the member..

View 5 Replies View Related

AutoCAD Inventor :: Export Start And End Point Of Various Lines In Sketch To Excel File?

Oct 26, 2012

I have been searching for a macro to export the start and end point of a line coordinates to excel, but I can only find information on how to export 3D Points.

Is it possible to program a macro that allows me to export the start and end point of various lines in a sketch?

The objective of this is to connect an excel file which is updated when I create a line with it correspondent points, then i could not only import these x,y,z coordinates from excel to inventor but I whould be able to update my spreedsheet whenever I change my sketch.

View 1 Replies View Related

AutoCAD Inventor :: Shared Sketch Generates Sketch Doctor Error - Feature Suppressed

Sep 21, 2011

I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Copy Part Sketch Into Drawing Sketch

Sep 20, 2012

How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?

I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations.  Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.

I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist.  I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.

I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way.  I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option.  I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.

View 4 Replies View Related

AutoCAD Inventor :: How To Get Sketch Point Data From Sketch Entity

Dec 3, 2013

I was trying to query some sketch points data from a profile Path using code as below. However the program stopped without telling the reason.

Code below:
i = 0;
foreach (ProfileEntity oSourceProfileEntity in oProfilePath) { switch (oProfilePath[i].SketchEntity.Type) { case ObjectTypeEnum.kSketchArcObject: { SketchArc srcSkArc = default(SketchArc); srcSkArc = (SketchArc) oSourceProfileEntity.SketchEntity; // error points[i] = srcSkArc.StartSketchPoint.Geometry; break; } default: { SketchLine srcSkLine = default(SketchLine); srcSkLine =(SketchLine) oProfilePath[i].SketchEntity; // error points[i] = srcSkLine.StartSketchPoint.Geometry; break; } } i++; } 

View 2 Replies View Related

AutoCAD Inventor :: Change Sketch 2013 Into Sketch Of 2010?

Dec 14, 2012

want to change sketch 2013 into the sketch of 2010 

View 1 Replies View Related

AutoCAD Inventor :: Sketch Disappears When Editing Another Sketch?

May 30, 2013

When I edit certain sketched some other sketches disappear. see attached.

This is causing modelling to slow down as I can not project lines from the sketch that has disappeared.

View 8 Replies View Related

AutoCAD Inventor :: Modify The Sketch From Projected Sketch?

Aug 22, 2012

After I create a adaptive part from projected sketch. How to modify the sketch? Please see the part attached.

View 6 Replies View Related

AutoCAD Inventor :: Difference Between Sketch And Planar Sketch?

Mar 4, 2012

what is the difference between a sketch and a planar sketch?

View 2 Replies View Related

AutoCAD Inventor :: Constraining A Sketch To Another Sketch?

Aug 16, 2012

I'm having trouble with constaints, I'd like to constrain my sketch to a point in another sketch on a different plane. Is this posible in Inventor? If so how? If Inventor works differently how would you get a points in one sketch to be linked to points another?

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 .NET :: How To Open File Dialog And Then Insert Another File

Apr 6, 2012

First, I am developing with the following system environment.

- ObjectARX 2011
- AutoCAD 2010
- C# with VS 2008

I am making a custom command that opens a open file dialog to prompt the user a dwg file.And the programmatically(automatically) insert another dwg file to the opened map.So what I tried to find a method to open a open file dialog, but couldn't find it.So next I tried to execute "OPEN" command programmatically. The following code is what I tried...

Application.DocumentManager.MdiActiveDocument.SendStringToExecute("OPEN", false, false, false);

and changing the second parameter to true...

Application.DocumentManager.MdiActiveDocument.SendStringToExecute("OPEN", true, false, false);

When I run the custom command, nothing happens. After opening a file, I want to insert ("INSERT" command) another drawing onto it. How could I achieve this?

View 5 Replies View Related

AutoCAD LT :: How To Insert PDF File

Mar 8, 2012

how do I insert a pdf file? 

View 5 Replies View Related

AutoCAD Map 3D :: Insert DWF Into DWG File?

Oct 13, 2011

I have been trying to insert a dwf file into a dwg file, so that I can do some work on the map, so that I can then print out the new data, overlaid on the older, dwf data.

I am aware that I'd not be changing the contents of the dwf file.

My problem: AutoCAD Map keeps crashing when I zoom out to include the dwf file in my field of view, or when I zoom in to begin my work.

This is not one or 2, or even 5 crashes. I'm up to 15+ crashes now.

I've stripped all unnecessary components, turned on, unlocked, thawed all layers, removed all unneeded items. I've run purge, audit, recover, saved for each event, so as to not lose the data once the crash occurs.

My last attempt was to take a brand new map, with no data at all, and then attach the dwf file. Once I'd done that, saved the attach operation, I went to zoom to extents so I could begin the work, and-- you guessed it-- Map3D crashed!

I've filled out more error reports than my colleague who uses ArcGIS by ESRI, and they're constantly crashing.

While the dwf file was originally located on another server, due to a sufficient number of crashes yesterday afternoon, I decided to copy the file to the same file location as the dwg map so to reduce the possibility of restrictions on the server that AutoCAD would not cope with.

I simply want to do some overlay work-- which at this point will consist of just copy/pasting data-- to the dwf map file.

View 4 Replies View Related

AutoCad :: Insert PS File Into DWG?

Nov 21, 2013

how to insert a PS file in to a DWG...

View 6 Replies View Related







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