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


ADVERTISEMENT

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 :: Use ILogic To Change Base Quantity?

Nov 9, 2011

Is there a way to control what the Base Quantity is in Document Settings using iLogic.  I want to be able to use a form to change it to a parameter I have created. 

View 6 Replies View Related

AutoCAD Inventor :: Sheet Metal ILogic Rule Not Executing On Non-rectangular Base Sketch?

Aug 5, 2013

I have a template that I have created, in it I have a rule that changes the stock number and description based on which sheet metal rule is selected.   The weird thing is it works correctly if the first sketch is a rectangle.  If you sketch a circular shape and make that the face it will not work.  It blanks out the values for the stock number and description.  

I'm running Inventor 2014 update 2.

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:   33212 StartFragment:     314 EndFragment:   33180 StartSelection:     314 EndSelection:     314
SyntaxEditor Code Snippet
DimiPropValAsString=""
DimiPropDesAsString=""
SelectCaseSheetMetal.GetActiveStyle()

[code]...

View 1 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 :: 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 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 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 :: 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 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 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 Inventor :: ILogic - Creating STL With Options?

Sep 11, 2013

I created a iLogic routine to generate a STL file if the iProperty "Printed Part" is set to YES.  

I am getting an error when Ln33 oTranslator.SaveCopyAs(oDocument, oContext, oOptions, oData) is executed.
 
If iProperties.Value("Custom", "Printed Part") = False Then 'False = "NO"ReturnElseMsgBox ("Selected to output STL for printing" & vbCrLf & "Disable by setting the custom iProperty:Printed Part to NO")End If'Create _OUTPUTS directoryoPath = ThisDoc.PathoFolder

[Code]....

View 2 Replies View Related

AutoCAD Inventor :: Example Of ILogic In Creating Stairs

Jan 1, 2013

Any good example of ILogic in creating stairs? We generate many different widths, lengths and heights? Been trying to utilize iLogic to make all the different types more easy to create from the start. Have set angle of stringers and certain widths of treads but cannot figure out my rules on the number of treads needed per the length of my always changing stringer lengths. Stumped on how to take a certain length (parameter) and divide it up equally. Top tread flush with top of horizontal stringer and with bottom tread having a minimum and or maximum height the from floor.

View 3 Replies View Related

AutoCAD Inventor :: Creating ILogic Components Possible From API?

Jan 29, 2013

I'm new to inventor and I need to be able to create coppies of a part in my assembly that are uniquely identified so they can be individually changed. I see that this can be done through the ribbon with the "Place iLogic Component" button, but is it possible to do this from the API in a rule?

I am using inventor 2012 pro.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Get View Type

Dec 17, 2013

Is there a way to get the "view type" of a view using iLogic? for example;

-detail view
-section view
-exploded view

Or any way to differentiate between the types of views? I'm trying to write a rule that renames all detail and section views in a drawing in Alphabetical order. A,B,C,D..

View 5 Replies View Related

AutoCAD Inventor :: Ilogic To Create View Rep

May 21, 2012

Is there Any code out there that will allow user to select part file then isolate and create view rep of that part with name of view rep the same as part.

The reason is we have lots of reps that isolate various components and this is very time consuming, I have had a look if there is Any customization because this would be a good user tool,also could work very well on assembly.

View 3 Replies View Related

AutoCAD Inventor :: ILogic View Reps On DWG

Dec 19, 2012

ILogic code ,I have had some code done to isolate selected parts in a assembly file that has a specific custom property filled in i.e. : DESC2.It then creates view reps and locks down giving the rep name the same name as part.

What I am after is some code that will place these isolated view reps as views on my dwg that the assembly resides in.With the functionality of picking face to show plan view of parts.

View 3 Replies View Related

AutoCAD Inventor :: Setting View Via ILogic

Mar 16, 2012

I have been looking around but have not been able to find examples of how (If I can) set the model views via iLogic. 

What I am trying to do is to have the view change from "Master" to the view I have created for each part, so when I go to create drawing all I have to select the right view and the part changes to match view.

View 5 Replies View Related







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