AutoCAD Inventor :: Ilogic To Change Model Color / Appearance

Sep 17, 2013

When I open a drawing, i want to be able to change the appearance of its part model.I can do it in part itself using iProperties.PartColor.

But I want to do it from inside the drawing.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Change Color / Appearance Of Faces On Part File?

Dec 19, 2012

I quite often import hardware models downloaded form various mfg or supplier websites. McMaster Carr for example provides a great deal of hardware models.  While they offer native formats for SW they do not do this for IV (not many places do)

Since the [imported] models often open up with default properties, I change the material to something that closely represents the actual hardware or item.  In some cases, there are certain portions of the item that are in reality colored or textured differently and I sometimes want to duplicate that for aesthetics and a more accurate view for people that use my assembly files.

In SW, it was always real easy to select just a face (regardless of whether the surface was part of an entire part, a feature, an imported solid body, etc.  I could always change the properties of just a face or slection of faces.  Since it was a standard pc of hardware, I had no concern about updates.

I have a part file that contains two imported solid bodies.  If I select just a single face and try to change the color of it, it changes the entire part.  Not what I want.

View 9 Replies View Related

AutoCAD Inventor :: Using ILogic To Change Model Tolerance

Jul 8, 2013

I need to change one dimension using iLogic.  It changes due to the path taken to manufacture the part.  In a nutshell majority of the time the "OD" has a +.004 / .000 tolerance and the model is drawn at the minimum size.  There are cases when the "OD" has a  +.005/-.005 tolerance and is modeled at the nominal size.   I've learned some of the iLogic to make the change I'm after but not all.  I'm having trouble setting ModelValueType to change the model size.

See the code below, for setting +/-.005" 

IV2012

View 2 Replies View Related

AutoCAD Inventor :: Color Change With ILogic?

Jun 27, 2012

I am using Inventor 2012:  I have a table with different part numbers. I want to create an iLogic rule to change the color of second solid body in my part for a specific part number.

This is what I did.

If iProperties.Value("Project", "Part Number") = "F22111796" Then
 Feature.Color("plastic")= "Gray"
ElseIf iProperties.Value("Project", "Part Number") = "F22111796V" Then
 Feature.Color("plastic")= "Gray (Dark)"
ElseIf iProperties.Value("Project", "Part Number") = "F22111796N" Then
 Feature.Color("plastic")= "Gray (Light)"
Else
 Feature.Color("plastic")="Gray"
End If

However it does not change the color of the second solid body when I make the part number active.

View 1 Replies View Related

AutoCAD Inventor :: 2012 - ILogic Code To Change Drawing Layer Color

Aug 27, 2011

How to change the color of layer that will be used within a drawing files for special purposes.

Ideally the code will make the color Red, but change to Black prior to printing.

The "logic" behind the code currently is to differentiate a layer called "Burn" to a highly visible color for the purpose of review by others then, prior to printing, change the color to Black.  The firm I'm currently working for uses gray-scale B sided printers only.  The firm currently uses Blue for dimension and extension lines so to produce drawings that portray both type of objects "lightly".

View 2 Replies View Related

AutoCAD Inventor :: Change Color In IDW Template To Become Blue In Model

Dec 30, 2013

How can I change the color in my IDW template so when I bring in a model it comes in blue .

View 2 Replies View Related

CorelDRAW Graphics Suite X3 :: Color Palette Appearance Change?

Jun 7, 2010

The appearance is totally change what i mean is possibly the brightness. Every single color in the color palette change and become a shocking color. But when i print it, they got printed normally as usual. i can't see the true color i want to use in my design. They're all become a really shocking color and too bright than they supposed to be :[URL]

View 4 Replies View Related

AutoCAD Inventor :: Change Appearance In IAM Update IPT File

Sep 12, 2013

Basically i have created a good size IAM and now need to lighten all of the appearances up.  Can i change them in the i am and have it update the individual IPT files at the same time?  or will i have to open all the ipt files and change it and save? 

View 5 Replies View Related

AutoCAD Inventor :: Change Appearance Of Sizes In Sketch?

Feb 11, 2013

to change appearance of the sizes in the sketch Image

View 9 Replies View Related

AutoCAD Inventor :: Change Appearance Of Multiple Parts Simultaneously

Aug 1, 2013

I have an assembly with multiple parts.

I wish to change the colour (how they're displayed) of a few of them.

When i right click on the part, i can select iProperties>Occurrence>Appearance

When i control + select multiple items, then right click, the Appearance tab is greyed out.

Not a huge problem at the moment, but in future, I may wish to make 30 + different parts a different colour and would like to do it in one step.

View 3 Replies View Related

AutoCAD Inventor :: Color Appearance Carry Over From Part To Assembly

Dec 19, 2012

I have a model part with colors assigned to different features but they do not carry over to the assembly model. The assembly first came up as all grey when our computers were upgraded to Windows 7, I have been playing with it and got some of the color back. I am new to Inventor and not familiar with how the colors work.

View 4 Replies View Related

AutoCAD Inventor :: How To Create New Material Appearance Color Simply

Aug 24, 2012

I know the material-appearance feature is appalling and badly implemented, but I can not wait until SP1, so any simple method of adding new colors to Inventor.  I have looked through the wiki help and there is no simple explanation.

In our company the way we generally work with Inventor is to assign certain colors to parts and sub-assemblies, thus making it easier to build the final assembly.  In previous versions of Inventor this was easily done.  In 2013 some of the bold (primary) colors are missing and almost all of the various shades of these colors are also missing.

Migrating files across to 2013 has also caused problems with the color appearance not updating correctly.  I won't go into the details but the problems and niggles aren't consistent, and there doesn't seem a way to clean/refresh the document library.

What I want is about a dozen bold colors (with a matte finish so when editing the part you do not have to overcome the optical illusion of starring into a morphed mirrored image of a carpark).

View 4 Replies View Related

AutoCAD Inventor :: Change Appearance Of Face In Weldment Assembly Environment

Jan 29, 2013

I was wondering if there is a way to change the appearance of a face in a weldment assembly environment. I have a weldment which in the machining process a part of weld bead as well as a portion of one of the components is machined down (spot faced) and I need to change the appearance of those face to polished, but it doesn't let me do that?

View 3 Replies View Related

AutoCAD Inventor :: 3D Model With ILogic

Aug 22, 2012

I made a 3D model with ilogic to control features to be suppressed or compressed. Because there are lot of features need to do so (need almost 4 to 5 min.) , when I run the rules, it came "Rule timeout" issue as pictures.

I used:

 Feature.IsActive (myFeature) = status

to control the feature be suppressed or unsuppressed .

View 8 Replies View Related

AutoCAD Inventor :: ILogic - Get Model Reference

Mar 8, 2013

I was wondering if there was a command that will get the file name of the model referenced in a drawing?

The reason I want to do this is because I have various programs to automate drawings, but I have to manually edit the code if i want to switch between using the code on assembly drawings and part drawings.

If i can get the model reference, I can then use a bit of extra programming to extract the extension. (i.e. .ipt or .iam)

Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 5 Replies View Related

AutoCAD Inventor :: ILogic To Save DWG But Not Model?

Oct 25, 2013

I currently have ilogic code that automatically saves a template Inventor dawing as a job drawing. However the problem I am having is when it does this save it takes forever as it seems to be also saving the linked model also. Is there a way to save this Inventor dwg without saving the linked model? The reason why I do not want this model save is because after the drawing is outputted the user is given options to write part numbers and dxf files if required which requires a model save anyway.

Sample of code used:-

ThisDoc.Document.SaveAsInventorDWG(ThisDoc.Path & "2D_DRAWINGS (Inventor dwg)" & iProperties.Value("Custom", "Drawing No.") & ".DWG", True)

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Model / Reference Parameter

Apr 12, 2013

I wish I perform the following code with iLogic. Is it possible to change a model parameter to a reference parameter?
 
If My_Expression Then' My dimension "d0" is a Driven Dimension' or' My dimension "d0" is a Reference ParameterElse' My dimension "d0" is NOT a Driven Dimension' or' My dimension "d0" is a Model ParameterEnd If

View 9 Replies View Related

AutoCAD Inventor :: Modify Referenced Model By ILogic?

Jul 24, 2012

I try to modify on a drawing the 3d model, using iLogic (same thing as Inventor "Replace model reference" command).

View 3 Replies View Related

AutoCAD Inventor :: ILogic Controlled Model View?

Mar 22, 2013

I am using a number of sketches in a skeleton to control multiple solutions.

I am using case statements that apply values to my variables and create my solutions which is working fine however,

for clarity of what is being used in a given solution I want to turn on/off the sketches in my code. I have created a set of model views that when active properly turn off the visibability of the appropreate sketch.

While model view is among the things that can be selected for use in the code, so far as I can tell, I can not find a function that will allow me to set a view true so that it activates the view and my sketches turn off.

View 1 Replies View Related

AutoCAD Inventor :: Replace Model Reference Using ILogic

Oct 4, 2011

how to replace model reference using iLogic in inventor 2012. Basically I have a drawing file whose model reference needs to change with part number(iProperties) .

I've been struggling to  perform replace model reference as there is no direct command given for it.

View 1 Replies View Related

AutoCAD Inventor :: Change Drawing Scale With ILogic Upon Parameter Change

Jul 8, 2013

I have a spreadsheet and iLogic driven mater assy to generate different iterations.

I would like to change the scale of a base view on a drawing based on a parameter in my assembly. The idea is to get iLogic to change the view using a simple If / Else statement.

This is what I tried:

If Parameter("0 Generic Assembly v2.2.iam.BP") < 1570 Then
ActiveSheet.View("VIEW1").Scale = 1/8
Else
ActiveSheet.View("VIEW1").Scale = 1/10
EndIf

So basically the value of "BP" parameter (excel parameter in my assy) would drive the scale of the views. But its not working. Is it actually a sensible method? Can I use in the drawing environment the excel parameters in my assembly?

This is the error message I get when the rule is run:

"Error in rule: View Scale, in document: 0 Generic Assembly v2.2.idw

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" 

Also using the same thinking I use iLogic to populate the drg number field on the drawing based on an excel parameter. The rule works but does not always updates the drawing no upon the parameter change or update/rebuild commands.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Model - Dimensions Of Assembly In IDW Drawing

Jul 2, 2013

I have a automated ilogic model that is then used within a 2D drawing, this 2D drawing then has dimensions on it referenced to the the model.

This model changes in its length the dimension associated with its length then changes but the dimension text then goes outside of the dimension boundary (does not stay central). Is there any code that can scan the dimensions and in effect tidy them up?

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Pull Path And File Name Of Model From Within IDW

Feb 28, 2012

How to pull the path & file name of an IPT from within an IDW?

 If I use this line from within an IDW:

ModelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)

it will simply return the file name of the corresponding IPT.

I want to be able return the path for the IPT from within the IDW as well.

Product Design Suite Ultimate 2012 64-bit - SP1
Windows 7 64-bit - SP1

View 1 Replies View Related

AutoCAD Inventor :: Opening Model With ILogic And Save As STP File?

Jul 23, 2012

I have an ilogic rule created to do a save as .dxf and .pdf from the .idw file.  It will then open the .ipt file without any issues.  The problem I am having is that I also want it to do a save as .stp of the model after it opens the model.  I get the following error.

Error in rule: Save As DXF PDF and open, in document: Save As DXF PDF and open.iLogicVb

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

Do I need to add something to the code?

Here is the code I have written.
 
strFolder="C:Vault_WorkspaceSave As"&iProperties.Value("Project", "Part Number")
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".dxf") , True)
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".pdf") , True)
doc=ThisDoc.PathAndFileName(False)&".ipt"ThisDoc.Launch(doc)
strFolder="C:Vault_WorkspaceSave As"&iProperties.Value("Project", "Part Number")
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".stp") , True)
MessageBox.Show("STEP Created", "File Save")

View 1 Replies View Related

AutoCAD Inventor :: Can ILogic Access The Comment Field Of The Model Parameters

Aug 23, 2011

I would like to be able to use iLogic to get the value of the Comment field of a model's parameters.  I have some text there that I would like to display in a sketched symbol. The attached image illustrates what I am seeking.

View 2 Replies View Related

AutoCAD Inventor :: Using ILogic To Retrieve IProperties Form Model Into Drawing?

Jun 7, 2012

I'm trying to put a little iLogic rule in my drawing template which triggers as soon as the drawing is opened.  The rule asks the user whether the component he's making a drawing of needs to be painted or not.  If it gets painted, the paint area (one side only or both sides) needs to be calculated.  The result of this is then referenced by a text note in the title block.

I can do the radio boxes with the questions, as well as their If loops, but only when I'm in the model.  Due to our, admittedly inefficient workflow, we never have time to specify "minor details" like paint area or spec during modelling, only when we get to drawing level.  I'd like to put the iLogic rule inside the drawing template.  I'm having trouble referencing the iProperties of the model from within the drawing's iLogic interface.

What I have so far is this rule, which I can run inside the model:
 
'set dummy variable equal to total areatotal_area = iProperties.Area'start radio box with questionsText1 = InputRadioBox("Will this component be painted?", "Yes", "No", Text1, Title := iProperties.Value("Project", "Description"))If Text1 = True ThenText2 = InputRadioBox("How many sides will be painted?", "Both sides", "One side only", Text2, Title := iProperties.Value("Project", "Description"))If Text2 = True TheniProperties.Value("Custom", "Paint Area") = total_areaElseIf Text2 = False TheniProperties.Value("Custom", "Paint Area") = total_area/2End IfElseIf Text1 = False TheniProperties.Value("Custom", "Paint Area") = 0End If

adding a line or two so that I can run the same rule, but from the drawing.

View 9 Replies View Related

AutoCAD Inventor :: ILogic / Modify IProperties Of Model That Is Associated To Drawing View

Jul 11, 2013

I'm trying to do this with iLogic, and i'm not getting anywhere. What I need, is to be able get to the iProperties of an associated model that is referenced into a drawing file.  I want to make it easier to update the iProperties from the drawing file, without having to open the model file. 

Factory Design Suite Ultimate 2012
AutoCAD 2012 | Inventor Professional 2012 | Vault Professional 2012

View 2 Replies View Related

AutoCAD 2013 :: Solids Appearance In Model Space

Oct 27, 2012

In AutoCAD 2013:

I have received a model in which the solids all appear "rendered" in model space.  For example, if I extrude a circle or a rectangle, it immediately appears rendered.  I am used to (and require) the solids as wire frames.  Is there some setting that makes solids in this drawing appear rendered while mine (in a new drawing) appear as wire frames?

View 2 Replies View Related

AutoCAD 2013 :: Model Space Text Appearance

Mar 1, 2013

How to rectify my model space text issues for a set of drawings.  There are approximately 12 drawings which all have the same problem.  I have not seen this problem in other drawings.

The text in model space appears bold and rough.  I have checked that all the text is set on the 0 Z plane. I have taken the following corrective actions and have not had success:

-Confirmed text is at Z=0
-Reset the UCS to world
-Changed the Z coordinate to arbitrary number and set it back to 0
-Checked that drawing & viewports are 2-D Wireframe
-Other Desperate Measures: Purged, Audited, Created in PS then move to MS

We had a CAD temp. that set up the drawings who is no longer with us, so I have clue what he did to the drawings when setting them up.

View 6 Replies View Related

AutoCAD Inventor :: ILogic Rule To Populate Finished Material Size Based On Model Geometry Selection

May 23, 2012

I created the following user parameters:

-Thickness
-Width
-Length
-Dia

I then created a Custom iProperty which consisted of the following "formula":    Finished Material Size = <Thickness> x <Width> x <Length> Lg.

eg. of Finished Material Result :        Finished Material Size = 6 x 25 x 300 Lg.

The problem comes up when dealing with diametrical components as the above formula will only populate for square or rectangular parts. Which would work if I could use iLogic code to populate the Finished Material Size iProperty. I have tried but failed.

First I created another user parameter called "Geometry Type" which has a drop down selection of either "DIA" or "SQUARE, RECTANGULAR".I then created the following iLogic code to set 0 as the value for the "unused" size parameters

 If PART_GEOMETRY = "DIA" Then WIDTH = "0"If PART_GEOMETRY = "DIA" Then THICKNESS = "0"If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then DIA = "0"
 The part I just can't get to work is as follows.

I need some iLogic code which will populate the "FINISHED MATERIAL SIZE" custom iproperty with one of the following based on my "GEOMETRY TYPE" selection. "DIA" would return the following to "FINISHED MATERIAL SIZE":      = Ø <Dia> x <Length> Lg.

While "SQUARE, RECTANGULAR" would return the following to "FINISHED MATERIAL SIZE":     = <THICKNESS> x <WIDTH> x <LENGTH> Lg.I tried the following code but it does not work:

If PART_GEOMETRY = "DIA" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= "Ø"DIA "x" LENGTH "Lg."If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= THICKNESS "x" WIDTH "x" LENGTH "Lg."

View 2 Replies View Related

AutoCAD 2010 :: Change Color Behind 2D MODEL SPACE Uniform Background Too Light

Mar 15, 2012

I would like to change the color behind the "2D MODEL SPACE" uniform background, too light. Type Config, go to Display tab and then Color, in the Drawing Windows Colors dialog box.

View 9 Replies View Related







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