AutoCAD Inventor :: Change Different Colour In A Assembly Drawing?
Jun 11, 2013
how can I change different colour in a assembly drawing. That means in a single drawing there is so many parts assembled I want to change the different parts in a different colour.
I need to change colour to a drawing with several viewports and xrefs. I suggested to my co-worker that I could fix this via plot manager, but he insists that I change all colours in the xref to one and the same, so everyone can plot it black and white and so we don't have to set up new plot styles on every computer. (we've got the drawing file from another company btw).
I've had a look and it seems like I have to do refedit to be able to edit any parts of the xref. Most of the drawing has got the same colour already, but it just say "by layer"... how do I find out what colour it is?
Is there any way to change the colour of all faces in a select set simultaneously?
The method I am referring to is when you select faces in a part document, rickt click and select properties from the context menu, a dialog box pops up called "Face Properties" which prompts you to select a colour and click OK. when this is done all of the faces are changed at once.
How do I replicate this via the API?
Currently I have it iterate through each face in a part document and apply the colour override one by one which can take a while when there are about 1000 faces. You can see each face changing as you go.
I have a drawing of an assembly with approx. 15 parts. I dimensioned and notated everything on the drawing as I usually would, and everything seemed fine. I have now gone back to that assembly a while later to adjust the position of some of the parts. When I open the drawing, however, these changes do not show up in the drawing environment. All of the parts are still in their original positions, even though in the assembly they are in new locations.
I've checked and it seems that the drawing views are referencing the correct assembly model. I tried deleting and replacing the dimensions, but that does not change dimension value to be correct. I also checked to make sure the "Defer update" box in the Options window is not selected.
If I place a new base view of the same assembly in the same drawing, it shows up with the new locations, but the original base view will not update.
I really would prefer not to delete the entire drawing and start over.
is it possible to change the colour of all elements in a pattern without changing the ipt file?
I have an assembly that has 4 rectangular patterns that can have any number of elements, sometimes the customer will ask for coating to be applied, in this case i only want to change the colour at the assembly level only.
I am working on a large plant piping project and while I've seen this behavior before I've never seen it this bad.
Attached is a screen shot of a small portion of the assembly drawing in which you can see a good example of what I'm dealing with.
At the top you can see a weld neck flange that appears to be attached to air where there should be an elbow. In the middle you can see that on one side of the elbow there is missing geometry.
At the bottom is another flange that attached to air where there should be an elbow. This drawing is littered with these errors and as such is unsuitable for even a reference document.
I have turned visibility of these components off and on without resolution. I have turned on tangent and interference edges without resolution.
I have translated a copy to ACAD to see if it's simply graphical but the ACAD file shows the same errors. I have checked parallel and perpendicularity and all is well.
Inventor 2012 Pro 64bit (Build 219 - SP2) Vault 2012 Pro Admin Windows 7 Pro 64bit Quad Core processor 2.26 Ghz 16 GB DDR3 RAM 1.5 GB Nvidia Quadro FX 4800 (Driver Version 9.18.13.1090) 2 – 320 GB SATA drives
Is it possible to suppress an assembly feature in a drawing view?We make some components in an assembly oversized and then do a final machine step after welding or brazing. We show the completed assembly in the drawing but would like to see the assembly prior to machining in some views.If I suppress the machining features in the model it affects all views. Can we suppress the features in just one view?
Here is the history. I originally created a part with multiple solid bodies.
After creating it I was told we needed to make it an assembly. So what I did instead of recreating each component I called up the original multi-bodied part and did save as copies.
Then deleted the portions of the model I didn't need with only the part needed left.
Then I took all of those parts and assembled them together to form an assembly.
Now, here inlies the problem. When I go to make a drawin gof this assembly all of the balloons are coming up with the same item number as it was when it was a multi-bodied part.
It is clearly an assembly based on the model tree and the file extension.
Recently when I have placed a view of an assembly into an idw drawing, then try to dimension distances between parts it gives me strange looking dimensions, or no dimensions at all. It looks as though the dimensions are going from the edges of each part at different angles, when I want them to be parallel to the view. I just want the dimension from a line to a line in that view as though it is 2d, but it is acting like it is still in 3d. I do not know if their is a setting that will change this or not.
I attached a screen shot of what the dimensions look like.
I am trying to generate automated drawing for my assembly and iam trying to run the following code
Imports Inventor.ViewOrientationTypeEnum Imports Inventor.DrawingViewStyleEnum dim oDrawingDoc as DrawingDocument dim oPartDoc as Document dim oSheet as sheet dim oTG as TransientGeometry dim oView1 as DrawingView
[code]....
but when i run the code its asks me whether you want to generate the drawings, but when i say yes shows runtime argument error as show below
Error in rule: Rule0, in document: pin
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
when i ask for more info it shows the following error
System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Inventor.Documents.Add(DocumentTypeEnum DocumentType, String TemplateFileName, Boolean CreateVisible) at LmiRuleScript.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem) at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
I have an assembly of stair made from steel. There are lots of part the same. Is there a way to make a hole (inside assembly) to one and that hole would appear on all of them.
And another problem, how can I made cut (inside assembly) through more then one part so that would affect a part also when I open it alone.
1. Model parts in steel using metal-steel color. 2. Create assembly from parts. 3. Leave metal-steel as default view. 4. Create new view rep with assembly colored blue.
There are two ways I can do this:
A. Create new view rep "Blue".
B. Select all parts and apply blue color at assembly level. View rep associations are broken.
OR
D. Create new view reps in each part "Blue" and make the part blue in that view rep. E. Create assembly view rep "Blue" and apply part "Blue" view reps. View rep associations are kept. A-B is quick but dirty, although in Default view the associations will be kept.
D-E can be tedious in large assemblies.
Is there a quicker way to change color but keep associations?
I am using Inventor 2014. I have an assembly where one parts has to be trimmed after assembly. When I do the cut in assembly, the part turns to a different color (black). My current view rep in assembly is Default.
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.
I have created an assembly containing several parts. I want to export several text parameters of the assembly and parts into the i properties of the corresponding idw so that I can use them in a text block.
Using Parts created with "As Application surfaces" (only to aid positioning in assemblies). Main assembly built up from sub assemblies which include these parts have the issue on the displaye views in the drawing. When creating drawing views of the Main assembly the application surfaces cannot be hidden by deselecting the "Include All Surfaces" option on each assembly view.
They can be hidden as, shown with an assembly made up only of parts.
I am working in one assembly. in that assembly i created all the part with using i part & same part i called in to the assembly & created i assembly. while creating drawing i have facing problem to show the model parameters in to the assembly drawing table. How to link the model parameters in assembly parameters with using i assembly.
I've got some IGES files, which I want to place into an assembly, and then create a drawing of the assembly.
If I open the IGES and place it in a drawing it works. If I create an assembly, place the same part, and then try and put the assembly into the drawing it doesn't work.
Attached is the IGES file. I'm using Inventor 2011.
I have an assembly were i want to exclude some parts in a sectional drawing view. I mean i want those parts should be visible in section view but should not get sectioned. And the remaining parts will be in a sectioned view. Is that posible or i may be missing something.