AutoCAD Inventor :: ILogic Access Hatch Object And Modify Color?

Jul 15, 2013

How do I get at the hatch objects within a drawing using iLogic?

I would like to be able to customize hatch color based on various part properties.

ie: 

Purchased part = Green Hatch
Refrence = Light Grey
and much more

This would be possible if I can get to the hatch object and determin what part it is associated with.

I only see iLogic code that allows you to change visibility of all hatching, and set general hatch angle.

Since I can select a hatch in the drawing and change its color, I assume there is an un-published API object that relates to hatches

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: How To Access Color For Particular Hatch Within Drawing Using ILogic

Jul 15, 2013

How to access the color for a particular hatch within a drawing using iLogic.

I would like to color the hatching for parts based on paramaters besides material.

ie.

Purchased parts = Green Hatch

Refrence = Grey Hatch

I would hope one could loop through the views looking for hatches, and once found, check the part they are associated with, then based on an "if then, change the hatch color and move on to the next pattern.

View 4 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 - Modify All Components Of Assembly

Jul 26, 2012

I need to modify all the ipt in an assembly, but I don't kow how many ipt I have, and I don't know the name. Can I have with iLogic the list of all the ipt used in the assembly ? For example, to modify the Part Number in all the components.

The code should be like this :

For All component in Assembly

...

...

Next component

View 3 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 Inventor :: ILogic - Modify User Form Parameter Read Only Status

Jan 9, 2013

Any way to modify a user form parameter's read only status using a rule?

I have a parameter that I want people to be able to edit when another parameter is set to true and to be locked if it's set to false. The only thing that comes to mind is have a rule that will just switch the value back automatically if the user changes it but it would be good if i could control the read only status.

View 3 Replies View Related

AutoCAD Inventor :: Access Assembly Features Through ILogic

Nov 19, 2012

I'm now having an issue accessing the features in an assembly, the error message is attached and the following is the relative code.

The error line is between the 2 Test Messages:

'Create a Component Definition relative to the Part Document

Dim oFeature As Features
Dim oAssembly As AssemblyDocument
oAssembly = oCompOcc.Definition.Document
MsgBox("Test 1")

'Cycle through all features in the Part
For Each oFeature In oAssembly.ComponentDefinition.Features
MsgBox("Test 2")

View 3 Replies View Related

AutoCAD Inventor :: ILogic Access To Filename IProperty

Oct 13, 2011

I am trying to use the iProperties.Value("part1", "Summary", "iProperty") function to get the filename or complete filepath of a component within a subassembly. I know that these iProperties exist because I can insert them onto a drawing, and I see them in the general tab of the iProperty window.

However, when I try something like:

filename = iProperties.Value("part1", "General", "Filename")

I get an error message indicating that the General tab can't be found. How might I go about getting this filename iProperty, or is there an easier way?

View 4 Replies View Related

AutoCAD Inventor :: Access Application Options Through ILogic?

Feb 10, 2012

I am new to iLogic and trying to access the "Application Options" under the "Tools" tab. I am trying to grab some information from a couple of fields but it seems that I don't have the right coding or Snippets that indicate how I would do so.

View 3 Replies View Related

AutoCAD Inventor :: Getting Data From Access Database Using ILogic

Aug 2, 2010

I have a program that populates an access database with part parameters. Each Inventor part can look up its own parameter values from the database when supplied with a single parameter, the ID number of the database record. The ID number is derived from a blank part that the program also updates. So in a nut shell, the program populates the blank part's parameters with all database ID numbers that would make up entire assembly. Those parameter values are derived to all the parts in an assembly. This is by far the fastest most efficient way I've found to rapidly generate an entire assembly. In a matter of seconds I can have a new 1000+ part assembly.

 The rumor that Inventor will eventually sever ties with VBA has put this whole process in jeopardy. So I have been looking into using iLogic to perform the same task of looking up the data from Access. I know that iLogic has Excel functions built into it, but because the original program is Access based (changes this is not an option) any way to use iLogic to retrieve data from Access.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Access To Drawing Sheet Revision

Sep 27, 2012

how to access the drawing sheet revisions using Ilogic.My company is wanting to start making the default initial rev on a drawing a "-" and inventor does not like to keep this when brought in as a template.

So like normal I am trying to trick it into having the dash until a rev is actually added. 

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 :: Read / Retrieve Information From MS Access Database Using ILogic

Nov 9, 2012

I am currently trying to retrieve data from a MS Access Database, we currently have iProperties with number values in them. An outside programmer created a code which takes these values and exports them to an MS Access Database, where they are then translated to mean something.

Instead of exporting those numbers, I want to use them to find what they ACTUALLY mean within the database and bring that information back into iLogic. (ie. 123456 actually means "1/4 Flat Bar Steel")

In short, I wish to access the MS Access database through iLogic in order to read information from it. 

I have searched for the better part of 3 hours but have not found a good answer or example code of this situation. I am not that experienced in programming, but have worked with the API before for developing Automated Drawings and have an understanding how to navigate through. If there were to be some example code, I can begin to understand the process quite well through this method as well by seeing how to go about coding this.

View 2 Replies View Related

AutoCAD Inventor :: Modify Object Line Weights Thickness

Dec 15, 2011

I know this option makes all lines the same thickness when printing, but where can i modify this "global" thickness.

View 7 Replies View Related

AutoCAD Inventor :: ILogic Snippet - Change Hatch Pattern In Section Of Specific Material In IDW

Dec 13, 2012

I am completely new to ilogic but would like to make a rule in my idw file that change the hatch pattern in a section of a specific material.

Short Version:

I have an aluminum extrusion part. Material is set to Aluminum-6061. In any section view of this part I want the hatch to be ANSI 31 with a rotation of 45 degrees and a scale of .02 How do I do this?

View 1 Replies View Related

AutoCAD Inventor :: Use VBA To Modify Color Styles

Oct 25, 2012

It is possible to change a document style color with a VBA macro or why not with iLogic ?.

I regularly imports STEP and the parts have defined colors. Unfortunately for change must clear all colors of surfaces. By cons, if you edit the styles we see that for each color there is a style with the color name.

So basically if I change a color style, all parts using this style will change.

View 3 Replies View Related

AutoCAD Architecture :: White Space Forms Around Text Object When Apply Hatch Or Color Region

Aug 8, 2012

In Autocad Arch 2013, is there some parameter or option that will turn off the default behavior of dropping out part of the hatch or color, around a peice of text?  In other words I don't what the white space that forms around a text object when I apply a hatch or color region.

View 1 Replies View Related

AutoCAD .NET :: Doesn't Access Or Modify Nothing In A ActiveLayout

Oct 19, 2012

I doesn't access or modify nothing in a ActiveLayout.I'm using c# and interop and need to plot to a file a dwg.The plot to file works well, but I need to change some properties like Plot Scale or Plot Type.

A conversion error occours.In second place, the DefaultPlotStyleTable doesen't work too.

using System;
using System.IO;
using System.Runtime.InteropServices;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Interop.Common;
[code]...

View 5 Replies View Related

AutoCAD Map 3D :: How To Modify Hatch Styles In Regions

Dec 31, 2013

I use Autocad map 3d 2011 to make maps and plans of the city.

Using stylization of lines we have many possibilities, we can do multilines, change thickness etc.

But I can't find how to modificate hatch styles in regions.

Is there any possibility to change scale, thickness of hatch? I am talking about FDO connection.

For example I need to use hatch ANSI 31 o 32, but when I print my map, is almost invisible (attachment).

Is there any possibility to creat and load my own hatch using FDO?

I did some hatches from lines (hatch extruded and exportet as shp) and it gives me possibility to modity hatch as a multiline (as green hatch in attachment). But it has to be any easier way.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modify Hatch Code

Aug 20, 2013

Modify the attached lisp I found in this forum to work using a different hatch pattern, scale and angle.  The new hatch should be in default Autocad "LINE" pattern and angle set to 90 degrees (vertical). If possible, I would like the angle and scale to be editable.  Find attached Multi_Hatch-45 code posted by CADaStroumph in 2008.

View 9 Replies View Related

AutoCAD Architecture :: Modify Roofline Causes Surface Hatch To Cover Windows

May 27, 2013

I am having a problem in an elevation view where the surface hatch covers the windows after I apply a Modify Roofline command in the construct.

When I look at the elevation in an isometric view you can see the surface hatch go through the windows. When I refresh the elevations after the construct xref is reloaded after Modify Roofline command the windows are no longer visible.

If I reset the modify roofline command in the construct, reload the xref in the elevation the elevation returns to normal.

I'd like to figure out why after the modify roofline command the windows are covered in the elevation but not in the construct view.

View 1 Replies View Related

AutoCAD Civil 3D :: Modify Elevation Of Point - Unhandled Access Violation Reading

Apr 12, 2013

I am modifying an elevation of a point and this throws me the error Fatal Error: Unhandled Access Violation Reading 0x0018 exception at c74f11ech

View 1 Replies View Related

AutoCAD Inventor :: Insert OLE Object Link Via ILogic

Nov 16, 2011

I have a requirement to insert PDF files via an OLE object link into a large number of .iam and .ipt files. Is there iLogic code out there that will perform this feat? The plan would be to gather all file names and associated pdfs in an excel spreadsheet and run the iLogic against that.

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

View 1 Replies View Related

AutoCAD .NET :: Access Hatch Angle And Origins

Sep 30, 2011

I'm a vb.net developer and i've a project to do for my job (my company is building laser machines). So i have to use autocad for drawing and, inside autocad, add a vb.net project to transfer all coordinates to a laser.

There's no problem for the most of object, but i've some difficulties with the hatch. I explain.

I can get the coordinates for hatching with the " . explose " (it gave me lines and after that, i can have all the points x and y)

But i need to "Rotate the hatch" (for making some sorts of holes in metal by example)

(Ex : Hatch angle start at 0 degrees, then 45, then 90, etc... etc...)

How can i rotate this hatch in vb.net ? (The hatch must not change on the autocad screen, so i use a clone for getting lines). I've find a method for getting the pattern angle (ex : MyHatch.patternAngle) but it returns me strange angle (like 0,00812 etc...)

And a other problem is that the origins of hatch angle seems based on 0,0 (so, when i change angle, it change from 0,0 and not the center of the Hatch)

View 2 Replies View Related

AutoCAD Inventor :: RAL Number Color Scheme Imported Into Styles Editor - How To Access

Sep 19, 2012

I've downloaded the RAL number colour scheme and imported into the styles editor. How to access from within Inventor to actually use a RAL number to colour a part ?

View 1 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 :: ILogic Component Edge Color In IDW View?

Feb 9, 2012

Is there code for changing the color (or other properties) of the visible edges of a component in a drawing view, the same way I can do it manually by right-clicking a component and choosing Properties?

I wrote this rule to change the color of each individual drawing curve:

Edit: Ignore the "<!".  It's the only way I could get the iLogic code to successfully post in the message
 
Spoiler (Highlight to read)<!Dim drawViews AsDrawingView
For Each drawViews In ThisApplication.ActiveDocument.ActiveSheet.DrawingViews
occ3 = drawViews.ReferencedDocumentDescriptor.ReferencedDocument.ComponentDefinition.Occurrences.ItemByName("GF_Plenum:1")
Dim newColor3 As Color
newColor3 = ThisApplication.TransientObjects.CreateColor(0,255,255)

[code]....

View 2 Replies View Related

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 View Related

AutoCAD Inventor :: ILogic Save As PDF Color Option Not Working

Jan 16, 2012

I want to save my PDFs as All Colors As Black, but setting the option to 0 or 1 doesn't work, it keeps saving the PDFs in color. Here's the snippet of

 If oPDFAddIn.HasSaveCopyAsOptions(oDataMedium, oContext, oOptions) Then
oOptions.Value("All_Color_As_Black") = True
oOptions.Value("Remove_Line_Weights") = False
oOptions.Value("Vector_Resolution") = 400
oOptions.Value("Sheet_Range") = Inventor.PrintRangeEnum.kPrintAllSheets
'oOptions.Value("Custom_Begin_Sheet") = 2
'oOptions.Value("Custom_End_Sheet") = 4
End If

What is wrong with the option in the second line (shown in red)? I've tried a few other variations of All_Color_As_Black, but I'm having no joy. All the other examples I've looked at either has that option set to False (0) or that line is commented out .

View 4 Replies View Related

AutoCAD Inventor :: ILogic Update Color Of A Derived Part

Jun 4, 2013

I'm running an iLogic based model where I have a technical housing with 2 cover parts on top.

The first cover part is the basic part.

I use iLogic to assign a RAL-color to several parts in the assembly, also to that cover. The color is assigned to several features of the cover part.

The second cover part is almost identical to the first one.

So my first feature in the second cover part is a derived part of the 1st cover. I derived all the bodies.

When I'm in my assembly and I pick a RAL-color in my created customization form, the RAL-color only changes in the 1st cover part (the original), but it doesn't change in the second cover part, the derived body.

But....

when I manually open the 2nd cover part, and I right click on the derived feature and click on 'Edit Derived Part' ; the new color shows up immediately!

So, my question is if there is a rule for iLogic to update the color automatically?

View 5 Replies View Related

Illustrator :: Can Modify Only Appearance Of Object Within Group That Only Has One Object?

Oct 17, 2012

I'm using CS5. When I click on an object within a group containing only that object, appearance tap shows the group's appearance. I can't select the object when the group only has one object. So if I want to modify the object, I have to ungroup or add additional object into the group.

View 3 Replies View Related







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