AutoCAD Inventor :: Set IDW File (Base View) Via A Macro

Oct 9, 2013

I need, using a macro, the ability to pre set the file that I am going to use as a "Base View" on a IDW file.

I call the ipt file "FRED.IPT", when I run the macro, it opens a new clean idw sheet and pre-sets the "Base View" to "FRED.IPT".

or

Automatically open a clean idw sheet and place the file "FRED.IPT" on the sheet, automatically.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Determining Base View Type In IDW File Using VBA Macro

Jun 29, 2013

If I have a "idw" file open containing an assembly (asm), and another "idw" file containing a part (ipt), how can I determine, using a VBA macro the type of file that I have used (either "assembly" or "Part")

If the "Idw" file contains an assembly, running the maco should say "assembly". If it contains only a part (ipt) then it should say "part"..Is this possible using a vba macro?

View 1 Replies View Related

AutoCAD 2010 :: Create Base View With Inventor File Fails

Jan 27, 2012

Trying to the base view system in acad 2012. Got inventor model and want to document in acad. New blank layout tab. Select base view and as model space is empty it asks for inventor file as it should. I select my ipt file.

it then says 'invalid autodesk inventor file C:projects......'

the command then closes.

I created brand new part, plain cube, and still the same.

View 1 Replies View Related

AutoCAD Inventor :: Get Sheet Number Of Base View For Selected Child View

Jun 21, 2013

Is there a way to get sheet number of the base view for the Selected Child view (Mainly for Section. Detail Views). Because the Section views, Detail views (initially they would have created on the same sheet where the parent is, then they moved to different sheets). So we place the parent view sheet number.

View 1 Replies View Related

AutoCAD Inventor :: Showing Section View In Base View

Dec 13, 2012

how to show section view in base view with out projection the component.

View 2 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 :: Change Base View

Jan 24, 2013

I was wondering if there was a way to change the model my base views were linked to.

If I wanted to link the base view to a different model, would this be possible.

When I double click on the base view it shows the file path for the model that is currently chosen; however, it is all grey and I am unable to edit it or choose another file path.

How to change this? Is this even possible? Is it because I have annotated the drawing view that I am unable to change the model path?

View 2 Replies View Related

AutoCAD Inventor :: Change View Base

Dec 7, 2011

what could have happened in an assembly when I've changed the cube front view (3D)? The projection has changed automatically (the view) in 2D. In other assemblies didn't happened the thing I've mentioned before even if I did the same thing meaning that I've modified the front view but 2D stayed in the same projection. 

View 1 Replies View Related

AutoCAD Inventor :: Place Base View

Mar 20, 2012

When starting a new idw, my first action is placing the base view.  I would very much like to start a new 2D and have the "Drawing View" window automatically pop up.  I'm not sure how to do this.  Would it be part of the idw template, or is there a setting I'm oblivious to?

View 6 Replies View Related

AutoCAD Inventor :: DWG To IDW Change With Base View?

Apr 15, 2013

We've got a new dwg template and we found that when we bring in a base view on a new drawing, the drawing changed to an idw format.

View 5 Replies View Related

AutoCAD Inventor :: Create Base View Using VBA

Jan 14, 2013

I'm trying to develop a program where I can use a base view based on the current view of a single part. The idea is basically export the contour of the part to the DXL format and save it to be used on cutting machines.

I've found something similar here, but in the context, it was necessary to use the path of the part to work, and I need it to recognize the part that is already opened.

View 1 Replies View Related

AutoCAD Inventor :: Creating A Base View With ILogic

Oct 18, 2013

I kept the code simple
 
fname = ThisDoc.FileName(False) 'without extension fpath = ThisDoc.PathoPartDocPath = fpath+""+fname+".ipt"oPartDoc = ThisApplication.Documents.Open(oPartDocPath, False)oDrawDoc = ThisApplication.ActiveDocument oSheet = oDrawDoc.Sheets.Item(1)oTG = ThisApplication.TransientGeometryoPoint1 = oTG.CreatePoint2d(5, 5)oBaseView = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, DrawingViewScale, kFrontViewOrientation, kHiddenLineDrawingViewStyle, "Default")

it is a local rule in an idw file that has been saved with an ipt file of the same name saved in the same directory. Now I get the most useless error message ever devised by manking

"The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"

View 5 Replies View Related

AutoCAD Inventor :: Crashing When Placing Base View In IDW?

Jan 14, 2011

I'm having a problem with Inventor 2011 professional on a 64Bit machine.  I can make any size assembly with no problem but as soon as I go to make an idw the program crashes and shuts down.  It doesn't matter if the base view is one part or 1000 parts as soon as I go to place the view inventor shuts down and I get an error. 

View 9 Replies View Related

AutoCAD Inventor :: Base View Not Showing Corretly

May 7, 2012

When creating a new view of flighting on a tube part of it shows up like it should and part shows up as dashed lines and when you turn on "shaded" the parts that are dashed do not shade.  All of the flighting parts come out of the same file and the tube is from a different file.

View 5 Replies View Related

AutoCAD Inventor :: Get Sheet 1 Base View Properties

Jan 3, 2013

I'm pretty sure there's a way to do this but I am not sure on what code to use. I would like to have the "number" field on my title block template always get the "part number" attribute from the first base view (or first part/assembly) on sheet 1. This will be regardless of what sheet I am using the title block on. I could even store it as a custom property or something as I won't ever have two different part numbers in one drawing.

To clarify on that, we may have a welded assembly that has one single part number, but as I'm designing it, I just add a -1, -2, etc. to the end of the part number for each component being made. In the end when they're all welded together, it's one part number. Since no one else needs to see my -1, -2 etc, I'd like it to pull the part number from the assembly on sheet 1 for every sheet.

View 2 Replies View Related

AutoCAD Inventor :: IDW Base Location Box Got Empty While Placing View

Jun 15, 2012

Somehow my IDW location box is got empty while placing the view in Inventor 2012.

I would like to return it back to normal.

[URL]

View 3 Replies View Related

AutoCAD Inventor :: Possibility To Lock Base View In Drawing

Sep 5, 2012

is that there is a possibility to lock the base view in Inventor drawing

View 9 Replies View Related

AutoCAD Inventor :: Inserting Base View - Flat Pattern

Jun 18, 2013

Is it possible that when you insert a view (in this case a Flat Pattern) that you can have all the lines, etc. go onto specific layers automatically?Setting the bend centerlines to specific layers is easy, I need to set the part lines to a specific layer though too.

View 9 Replies View Related

AutoCAD Inventor :: Create New Base View In Drawing Document

Jul 13, 2009

I am trying to create a new base view in drawing-document.

I can get hold of the view but cant find a way to set reference data --- would like to set the "Line Style" to "As Parts" and "Hidden Line Calculation" to "All Bodies".

View 5 Replies View Related

AutoCAD Inventor :: 2013 Drawing / Using Item Number As Base View Name

Aug 7, 2013

At my company, we do a large amount of work with sheet metal parts and assemblies. On our drawings, we like to do "detail" views of the flat patterns of each part of the assembly. Basically, how we do it now is insert a base view of the assembly and the BOM onto the first sheet and then on separate sheets, we place base views of the flat patterns for each of the components that will be cut on our cnc plasma table. We use the item number to denote which part it is in the assembly. Is there any way to pull the item number from the assembly BOM and use it as a parameter that can be inserted into the view label? Right now, it's a nightmare if the assembly BOM is modified because we have to go back in to each view label and manually change the item number.

View 5 Replies View Related

AutoCAD Inventor :: Prompt User To Select A View When In Macro?

May 14, 2012

I have a macro which

1) checks to see if the active document is a drawing

2) Checks that the drawing is of a part

I want to prompt the user to select a view on the drawing, if this is not the first view on then a warning message is displayed.

Then I want to take this active view and change all of the geometry lines and holes EXCEPT for bend lines to a specific layer.

View 4 Replies View Related

AutoCAD 2013 :: Base View Command To Automatically Insert Centrelines In Projected View

Jul 9, 2013

Is it possible to automatically insert centrelines in projected views when using the base view command?

I believe it is possible with Inventor.

Using Autocad 2014

View 1 Replies View Related

AutoCAD 2013 :: Section View From Base View

Apr 4, 2012

When making a Section view from a Base View is there a setting to make the text follow the Text Style and Paperspace text size. Everytime I create a Section View I have to change the text settings in the Properties box.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Conversion Of Base Routines To Diesel MACRO Based Routine

Jul 3, 2012

" Convertion of AUTOLISP base routines to Diesel MACRO based routine to be used in a AUTOCAD LT based platform "

Here i am attaching the lisp file for ready reference.

View 1 Replies View Related

AutoCAD Inventor :: VBA Macro - Create PDF File From IDW File?

May 3, 2012

Before I run this on Autodesk Inventor 2012, any possible problems that I might have with the following VBA macro code?

Set Doc = ThisApplication.ActiveDocument
Call Doc.SaveAs("C:Test.pdf", True)

All I want to do is to create a PDF file, automatically, from a IDW file without going through a PDF Printer

View 2 Replies View Related

AutoCAD Inventor :: Macro Failed When PDF File Is Already Open

Sep 17, 2013

I created a macro for generate a PDF drawing, but when one file has been already created, AND he's already open, the macro don't work.

How to stop the macro automatically and notify that the macro has been stopped because the file is open.

Below, the current macro :
 
Sub PublishPDF()'Get the PDF translator Add-In.Dim PDFAddin As TranslatorAddInSet PDFAddin = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")'Set a reference to the active document (the document to be published).Dim oDocument As DocumentSet oDocument = ThisApplication.ActiveDocumentDim oContext As TranslationContextSet oContext = ThisApplication.TransientObjects.CreateTranslationContextoContext.Type = kFileBrowseIOMechanism
[Code] ....

View 3 Replies View Related

AutoCAD Inventor :: Adding Save Run Macro To Automatically Run Macro

Dec 30, 2012

I have been using the addin "Save Run Macro" to automatically run a macro every time the "Save" button is pressed.

Any of the following questions about "Save Run Macro"?

1] When I protect the macro from viewing (so I can protect my code) "Save Run Macro" does not see the macro.

2] When I save the part for the first time (ipt, iam or idw/dwg) the macro does not run. I always need to run the macro again.

View 1 Replies View Related

AutoCad :: How To Freeze The Parts Within Base View

Jun 14, 2013

I have a project with several parts that all fit together. I understand how to freeze all of the parts that I don't want in a viewport but how can I do the same for a base view?

I would like to have one layout with an exploded overview of all the parts and then a separate layout for each of the parts. Is it possible to freeze the parts I don't want within a base view like you can within a viewport?

View 2 Replies View Related

AutoCad :: Base View Command On Layout Tab

Jul 31, 2013

Im using A.cad Mech 13 I'm having a problem with the base view command on the layout tab,I have a 3D object in model space I then click the base view command,select my object and select display in layout 1, I then select my views top,side and Isometric when I hit enter to confirm all views disappear leaving my template empty.

View 2 Replies View Related

AutoCAD 2010 :: Base View In Multiple 3D Objects

Sep 11, 2013

I have this problem with my drawing. before I decided to post here, I first ask mr. google about the problem but to no avail. anyway, here's my problem:

I have this drawing. 3d object. with multiple items. and would like to create a 2d detailed view of the items.

what i did  was isolate the first item and did the base view command. after the command, I then hid the first item and isolate again the second item. but then I always get this pop-up menu that says "A model has changed" and my item is missing. I ignored the warning and poceeded with my second model and so, on. after the process I unisolated all my items and most of the drawings are there and some are lost. Is there a proper way of doing this base view for multiple objects without disrupting the previous drawing that I objects?

View 9 Replies View Related

AutoCAD 2013 :: View Base With Extra Lines

May 28, 2013

I am using 2013 and have a few 3D objects in the modeling space that I am using view base to put different views of each into the paper space.  When I do this and export to PDF, I get an extra green line from the paper space.  I have deleted and replaced the view and have tried different views with varying sucess. 

Some pieces simply need a different view, however I have one that will not go away.  The different view does really solve the problem either because I need the view with the problem.  I have attached a picture of the issue, but it is just a chunk to protect information that I cannot share.  The gray in the drawing is the part, the green line should not be there.  The green line only shows up on the PDF, not in modeling space or paper space.

View 3 Replies View Related







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