AutoCAD Inventor :: ILogic Code For Visual Styles - Shaded With Edges

Aug 24, 2012

Would like to have this script in my template for assemblies. So when user opens up the assembly it changes the visual style automatically.

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Assembly / Presentation As DWG With Visual Style Of Shaded With Edges?

Mar 22, 2013

Is it possible to have an Assembly and/or Presentation as a drawing (.dwg) with a Visual Style of Shaded with Edges?  In particular my black .ipt parts look just fine with white/grey edges except when placing the view in a drawing.

View 8 Replies View Related

AutoCAD Inventor :: Shaded With Edges Always On?

Jun 5, 2012

How can you set by default the ''shades with edges'' visual style by default ? I always work with that visual style, I have to set it every time I open a part or assembly.

View 2 Replies View Related

AutoCAD Inventor :: Lighting Styles For Shaded Views In IDW

Apr 30, 2012

I've been working with a model where some of it is in a dark shadow when I make a shaded view on the drawing.  I've created a custom lighting style in the style manager, but I haven't found any way to succesfully assign that lighting style to the model in a way that will light the shaded views in my drawing.  I'm using Inventor Pro 2011.

View 4 Replies View Related

AutoCAD Inventor :: Shaded With Hidden Edges

Jun 20, 2013

We just switched from 2013 to 2014. I had "Shaded with Hidden Edges hotkeys to "q" in 2013,but now it's not in the

Customize menu anymore?  "Shaded with Edges," is there, and my filter is set to all.  I would like to have my hotkey back. 

Menu: Tools/Customize/Keyboard

View 5 Replies View Related

AutoCAD Inventor :: Shaded With Edges (not Hidden)

Apr 23, 2013

Inventor 2014,

I am getting display of hidden edges (in fuzzy grey with shadows, like wireframe with hidden edges) while using shaded with Edges.  At first they don't display, but when I pan zoom orbit, they show up to stay.  When I switch to shaded with hidded edges, the same edges turn blue.  When I switch to shaded, they completely disappear.  So it's the Shaded with edges view that has this problem.  I have also noticed it to be random files or some unknown commonality.  Files were created using Inventor 2013.  I'm not running Express mode, which is much fuzzier.

I did not see this during beta testing.  I have a Radeon HD 5990 (2GB) - running like a champ, Intel I7- 930, and 12GB ram running Windows 7 (ultimate) 64bit.  Inventor 2013, and 2014 are both installed.

View 9 Replies View Related

AutoCAD Inventor :: 2013 - Realistic Versus Shaded With Edges

Jul 25, 2012

How do I get my part to be transparent in the "Realistic" view like it is with the"Shaded with edges"?  This is what it looks like with the view style set to "Shaded with Edges".  Notice how it is transparent and you can see thru the part.

Now when I switch to "Realistic", I get this.  Anything that is behind this part is not visible.

I want to be able to see thru the part when in the reallistic visual style.

View 4 Replies View Related

AutoCAD Inventor :: ILogic - Make Drawing View Shaded

Jan 22, 2013

Is there a line of code that will look at a drawing view and turn shading on?

I have tried

ActiveSheet.View("VIEW1").View.Shaded = True

but it didn't work .

View 6 Replies View Related

AutoCAD Inventor :: Shaded View With Edges Is Disabled In Dynamic Simulation Autodesk 2012

Dec 5, 2013

I am not able to see the model in shaded view with edges in dynamic simulation environment (Autodesk Inventor 2012).

View 6 Replies View Related

AutoCAD Inventor :: Collapsible ILogic Code

Mar 16, 2012

Trying to make some of code collapsible.According to what i know this is achieved like this

'[
"code to be colapsed here"
']

However it does not work, I am assuming that this is because I am running INV 2009 +ilogic.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code To Login To / Log Out Of Vault

Oct 14, 2013

I am looking for a way to log out of vault from within Inventor using iLogic codes.  I have created an iLogic rule that automates export an assembly drawing and all sub component drawings. In my code, I have suppressed all Inventor prompts but I do not have a way to suppress Vault prompts. I can manually log off from vault and run this rule without any problems. However, if I forget to do so, I am stuck responding to update requests from vault and check out requests constantly for each and every file. 

any iLogic code to log in and log out of vault?

View 1 Replies View Related

AutoCAD Inventor :: Hide ILogic Code From End Users?

Sep 18, 2013

I recently created some iLogic based components. I wonder how difficult it is to protect the iLogic code, similar as VBA code which can be password protected.

The reason being:

1. Of course, to hide & protect the creator's modeling logic;

2. To avoid the relation between parameters being messed up by the end user unintensionally.

I did have the opportunity to raise the question during the Portathon event and the answer was that the protection not directly available, though the workaround could be mixing with some Inventor API coding in .NET.

However, this might defeat one of the benefits of iLogic, simple and ease to use, gentlr learning curve, especially for users with VBA experience. .NET might not be so easy for a lot of engineers from mechanical or other disciplines.

1 Disable the "Edit" button for iLogic components, including rules, forms, etc.; 

2. Put all code that are to be protected in an external file, and then make that file unreadable (password protected, or other protection) to un-intended user, however, readable to those who have proper access privelege. 

View 5 Replies View Related

AutoCAD Inventor :: Compress Lines Of Code In ILogic?

Jan 9, 2014

A while back I figured out how to put a few characters before and after several lines of code in iLogic to make it compress to one line or expand to its full size inside the code editor. I belive this is a fairly common VBA command, but I can't figure out how to do it again.

Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer

View 7 Replies View Related

AutoCAD Inventor :: ILogic Code For Opening A Webpage

Apr 20, 2012

some code that will open my company`s webpage if the parameter is set yo <True>?

i have tried alot of that is not working:

If Visit_firenor = True Then
ThisDoc.Launch("C:Program FilesInternet Exploreriexplore","http:\www.firenor.no")
End If

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code To Close IPT File?

Aug 21, 2013

Looking for the ilogic code to place in the drawing rule to close *.ipt file that was recently open.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Copy To Buffer Code

Sep 26, 2011

I`m not sure if this is possible or not.

Is there any way to write a script which copy`s a variable to the buffer? Similar to CTRL-C?

View 9 Replies View Related

AutoCAD Inventor :: How To Close Application (IPT And IAM) By ILogic Code

Mar 26, 2013

How to close an application (*.ipt & *.iam) by ilogic code?I tried to use...ThisDoc.Document.close (True) to close it.Indeed, it can close the application, but there is an error occurred as following:

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

how to avoid this error or any other way to close (or exit) the application?

View 9 Replies View Related

AutoCAD Inventor :: Create A Temple For ILogic Code?

Feb 2, 2012

I am trying to use a code window plugin on my website, and would like to create a temple for iLogic code.  Is there any way to output  iLogic code in a format that would work?

I cannot modify any of the existing templates because iLogic requires information as to whether to make some text brown or blue, and it would need some form of output to do that.

[URL]

The instruction page is here: [URL]

I have been manually highlighting or using images, but both have their problems. (cut & paste will lead to a pile of errors with the manual highlighting). I can create the css file, but need some form of output beyond cut & paste to work with.

If something is worked out, it will be added to the program and be available to everyone free (this is a Wordpress plugin).

[URL]

Self built computer with;

Quad core processor
16 gigs ram
Raptor Raid main drives
2 x 1TB Caviar Black storage drives local
2 x 1TB Caviar Black storage drives network backup

Main Software;
Product Design Suite Premium
Windows 7 Home Premium
[URL]

View 1 Replies View Related

AutoCAD Inventor :: ILogic Code To Set Parameter In Bunch Of Parts?

Jun 25, 2013

Is it possible with iLogic code to set a parameter in a bunch of parts equal to another paramter?

I want some iLogic code that will go into my pipe parts and make the PL param = D2.

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Perform A CODE Using IProperty Information

Sep 17, 2012

I want to use Ilogic to construct a code part name.

My question is perform a code of about 12 characters. For example the parameter "Lenght" is 600mm but in the expressione result It must be "000000000600" (a string of 12 characters)

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code Doesn't Work Anymore?

Nov 19, 2013

I have a iLogic rule for saving drawings (dwg) to a pdf file in a designated folder. Everything worked well until this Monday morning. Now I get the message: Error in rule: Save2PDF, in document: 13006-027 propflens-1.dwg Value cannot be null.

Inventor 2014 sp1 | Vault basic 2014 | HP Elitebook 8670W | win7 64b | 8Gb | GMT +1

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code Giving Error When Executed

Jan 23, 2012

However, I have one iLogic routine that is giving me an error whenever I run it. Selecting continue allows it run as expected. Basically, it is to remind designers to set the material type to other than “Default”.

Here is the Materialsddd = 0' deleted parameter materialName = ThisDoc.Document.ComponentDefinition.Material.Name If materialName = "Default" Then MultiValue.List("MName") = iProperties.Materials MName = InputListBox("Select Material", MultiValue.List("MName"), Mname, Title := "Select Type", ListName := "MM List") iProperties.Material = Mname iLogicVb.UpdateWhenDone = True The Parameter MName does exist as a mulitlist parameter.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Not Displaying Parameter Code Properly

Dec 20, 2012

I was working with ilogic, Adding a new rule and all of a sudden I got an error and when I double click on a parameter to add it to the code, the format changed.

It used to look like this when I added a parameter: Parameter("vertical seperation:1", "partitionthickness") 
but now when I double click on a parameter I get this: vertical seperation.ipt.partitionthickness 

Also when I right click on a parameter and select display current state, It does the same thing, for some reason the code does not display like it used to.

I got an error when this first happened and I tried reproduce the error again but it did not appear again. This affected all my parts and even in different projects.

I re installed inventor because I thought there might be a file link broken but it did not fix it.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Code To Embed Externally Ran Rule To Ipt

Jan 12, 2013

I have put together some ilogic code which is embedded within a part template, this auto populates the iproperties with the profiles length,width and thickness, and also automatically updates when any changes are made to the said profile When I hit save.

This works a treat when creating new parts, the problem arises when re-using old parts from previous jobs (Which is a regular occurrence),prior to when the code was created.

So I have to run the code as an external rule, but this has caught me,and a few other people out, as we have forgotten to run the rule after making a change to the part so the iproperties aren't automatically updated.

 My question is, is there a snippet of code that I could add to my code, which embeds the the externally ran rule to the Ipt? 

View 1 Replies View Related

AutoCAD Inventor :: Add A Stop Or Cancel Button Onto Ilogic Code

Jul 2, 2012

Is it possible to add a stop or cancel button onto ilogic code?

I have code that looks into all .ipts with a certain material type,that works great but if we run by accident there is no way of stopping code until it finishes .

View 3 Replies View Related

AutoCAD Inventor :: Creating ILogic Code That Uses IParts / IAssemblies

Mar 21, 2012

I am venturing into a new area with my iLogic coding. Looking for some good examples or How-To of how to use iLogic with iParts and iAssemblies.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Code - Change Custom Properties

May 31, 2013

<Subassembly document name>” = iProperties.Value("Custom", "CUSTOMER P.O. NUMBER") iProperties.ValueInDoc("<Subassembly document name>.iam", "Custom", "CUSTOMER P.O. NUMBER")= Ucase(InputBox("CUSTOMER P.O. NUMBER?", "Create Customer P.O.#", iProperties.Value("Custom", "CUSTOMER P.O. NUMBER")))

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code To Create User Parameter?

Jul 29, 2011

I want to use iLogic to create User Parameters with Multi-Value lists filled with info from an excel spreadsheet. What is the code to create a new User Parameter?

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 4 Replies View Related

AutoCAD Inventor :: ILogic Update Styles On DWG

Dec 21, 2011

I am after a way of accessing the update styles on dwg so that I can run with rule below as most of our drawing stds have changed and old dwgs need updating the work flow is as follows.

 I need to access manage tab then update styles,then yes to all,OKUpdate all sheetsfind all parts list within all sheet and then annotate , style on format tab and then select Parts list - this will change all my old parts list to current style definition.Either run at begining of code below or run as seperate code

On Error Resume NextDim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocumentDim Sheet As Inventor.SheetDim Cursheet As String Cursheet = oDrawDoc.ActiveSheet.Name For Each oSheet In oDrawDoc.Sheets oSheet.ActivateDim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)If Not oPartsList Is Nothing Then Resume Next'Call oPartsList.Sort("ITEM")Call oPartsList.Sort("PART NUMBER", 1, "DESCRIPTION", 1, "QTY", 1)iLogicVb.UpdateWhenDone = TrueActiveSheet = ThisDrawing.Sheet("Sheet:1")ThisApplication.ActiveView.FitEnd If Next

View 4 Replies View Related

AutoCAD Inventor :: ILogic Code To Change View Label Text

Sep 18, 2012

I am trying to rewrite Curtis Waguespack's ilogic code to modify drawing view labels from this post http: [URL]...

The completed label should appear like this

<Description> - Mk <Part Number>
Est Unit Mass = X kg
(Scale 1:1)

At this point I have 2 problems

1. I want to add the physical mass to the second line and would prefer to use the calculated physcial property rather than the a custom iproperty. If editing the view label, it would the property access under physcial properties.

2. I want to rewrite the code so it is selective or per view - in otherwords, I only want it to modify a single view I select once the code is run. At this point I know I need to remove the For loop but I dont have a clue as to how to make it selective.

'start of ilogic codeDim oDoc As DrawingDocument: oDoc = ThisDoc.DocumentoModel = ThisDoc.ModelDocumentDim oSheets As SheetsDim oSheet As SheetDim oViews As DrawingViewsDim oView As DrawingViewoSheets = oDoc.SheetsFor Each oSheet In oSheetsoViews = oSheet.DrawingViews For Each oView In oViews oView.ShowLabel = True

[Code] ......

View 5 Replies View Related

AutoCAD Inventor :: ILogic Code To Turn Sketch Block Visibility On And Off

Jul 28, 2013

I've managed to cobble this code together to turn some sketch visibilities on and off. However, what I'd really like to do is have a single sketch containing some blocks, and turn the visibility of the blocks on and off... How to call the blocks -

'Iterate through the sketches collection'Turn the edging indicators On And Off
For Each oSketch In oDoc.ComponentDefinition.Sketches Select Case
oSketch.NameCase "Front Edged"If E01 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Top Edged"If E02 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Back Edged"If E03 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfCase "Base Edged"If E04 = True Then
oSketch.Visible = TrueElse oSketch.Visible = FalseEnd IfEnd SelectNext

View 2 Replies View Related







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