AutoCAD Inventor :: ILogic - Make Drawing View Shaded
Jan 22, 2013Is 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 .
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 .
We just recently upgraded to Inventor Pro 2014. I have a user who has created a singled shaded view drawing. He want to print the drawing shaded. When he prints he gets a line drawing. It even appears like a line drawing when he previews it. He gets the same results when printing to Adobe. He said it printed properly in the morning yesterday and when he tried to print again in the afternoon it would not print shaded. He rebooted this morning and he still can't print a shaded drawing from Inventor. We looked at his printer settings and everything looks good. He is the only one in my department who is having this problem.
Dell Precision T7500
Windows 7 x64 SP1
Nvidia Quadro FX5800
16 GB RAM
I am now making drawings of complexed structures and would like to draw attention to some elements that are important for particular drawing.
What I would like best would be to be able to schade selected parts. But did not find a way to do that.
Is it possible to rotate a drawing view using iLogic?
View 2 Replies View RelatedLike the title says I am looking to place views (and dimensions) on drawings using ilogic. I am new to both inventor and ilogic, most of my training came in SolidWorks. It needs to pull the part from an ipart that pulls the information from an excel file.
View 1 Replies View RelatedI made a drawing, but after using ilogic (ilogic is in drawing,assembly, part) in it, drawing view of a particular part is coming in hidden line, other are shaded as u can see in image.
Drawing view is associative, all edges shown, level of detail is master, view style is Hidden Line Removal with Shaded
Computer Config:
Inventor 2013
Intel Xeon CPU
2.67 GHZ
8 Gb ram
Windows 7 64 bit
I have successfully been able to rotate the drawing view. rotating the view label.
View 1 Replies View Relatedwhat i am trying to do is create an iLogic rule that if your drawing view scale is set to the following ...
1:1, 1:2, 1:4, 1:8, 1:12, 1:!6, 1:24, 1:32, 1:48, etc. on the view label for that view it will diplay ...
SCALE: 1/2" = 1'-0"
and so on for the rest for the standard scale factors.
i know it will be some sort of a loop and it needs to check all views when ran for any changes.
i have never done any coding for the drawing side of inventor yet only model coding
is there any way using iLogic or other method to automatically control the size of the 'break' in a drawing view? I have built a model which uses iLogic to control virtually everything, however the large variations in the length of the product mean that there are some interesting results when it comes to the broken drawing views updating.
it would be nice to locate the break at the absolute center of the view and then size it as a percentage of the view size along one axis or perhaps according to some other length based rule.
Dell Precision M6400 - C2D 2.66 / 8gb / Quadro FX3700M / Win 7 Pro x64
I am trying to piece together some code for an ilogic rule. This rule should look for a drawing view that is a flat pattern, if it finds one it should change the object layer to our "CNC" layer.
View 3 Replies View RelatedI'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
Currently have an iLogic rule in my drawing template that base on user input brings up the Drawing View dialog box (as though you click on base view). I want to know if there is some coding I can do to control or handle what happens if the user clicks the cancel command inside this dialog box. Possibly show a message box. Or even run another rule after the cancel button has been clicked?
View 1 Replies View RelatedWould 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 View RelatedWhen shading in an Inventor 2013 idw the display shows the shade incorrectly as some kind of sky representation (see attached). I wish for this to be displayed correctly as a grayscale shade?
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
when you have an view in shaded mode, there is automatically some lighting from the rightside. This gives the model/view some shadow look ( white turns into light gray by example).
The lightning style in the assembly/part environment has no influence on the shaded view.
Is there a way so that when I make a view in a drawing,
it shows up by default with all it's real lines, instead of having to select the options all the time...
I have recently had Inventor installed and replaced my Autocad 14 .
I can open my drawings but will not let me make any changes it is like a read only or view file
Do i need to convert my old autocad files to a diferent format ?
I am not able to see the model in shaded view with edges in dynamic simulation environment (Autodesk Inventor 2012).
View 6 Replies View RelatedI have made an exploded view and placed it an a drawing. I would like to view inside one of the bodies to show where the exploded internals sit, however when I do a break out of the body the trail lines from the exploded internals also get sectioned. Is there a way to control the sectional properties of a trail line?
View 4 Replies View RelatedIs 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..
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.
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.
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.
Is it possible to have the parent view for the section in one drawing and the child views in another drawing?
View 2 Replies View RelatedAfter upgrading to Inventor 2014 we notice that the graphics do not work properly, and that the overall performance in drawings and modelling bad compared to 2013. Then we installed SP1 and now drawing views are disappearing, however when we select "shaded" view the view reappears and works perfectly..
Any workaround regarding disappearing views?
I have a long shaft with parts mounted on. i want to section it and show the parts. i don't need to show the whole length of the shaft.
I know i can crop the isometric view, but this way i will not see the key hole which is on the other side, it's hidden.
If i make a section it 's in an orthogonal view only.
I want to make the section view, but later to transform the sectioned view to an isometry. is it possible?
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 RelatedI 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))"
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.
I have found a 3D drawing on the internet. But i want to print it in a realistic view from the top. This is the place where i have found it :
Site
like you see on the site ,an example of the 3d cad drawing
in realistic colors,shadows, ... :
10-22022012-089645L.gif
but when i download the 3d autocad file i open it , and i can only print in this view:
3d cad print.jpg
no realistic view,
now is my question, is it possible to download the drawing from the site ,and print it in a realistic view ?
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]....