AutoCAD Inventor :: Rotate Assembly Drawing Using Vba Codes?
Jan 10, 2012how to rotate an assembly drawing using vba codes?
View 4 Replieshow to rotate an assembly drawing using vba codes?
View 4 RepliesI have an assembly wherein one part is mated to another grounded part, with a face-to-face coincident mate. The click + drag type of movement appears to move the part, while continually solving this constraint.
However, it seems like there is no way to do a rotation in the same manner, where the constraint is continually updated. There appears to only be the "Free Rotate" command, which ignores the constraints.
Is there really no way to do this in Inventor? The application is that I am laying out a mold for many, many small parts, and I am trying to move and rotate them into position to get good packing efficiency and density. Each part will be attached to a mold base with one of the aforementioned face-to-face constraints, then slid & rotated around manually.
This seems like a really important piece of functionality. Solidworks can certainly do this, do a part rotation in an assembly, while solving for existing constraints.
custom sub-assembly codes,I have gone through the list of codes that is given in the code list.
1. How do I add new code, should I just add with the new index at the end
2. What all things I need to update so correct feature line is picked, etc
3. Any c# example of building a sub-assembly using .net.
I have an assembly of 3 parts. I want to align holes from 2 of the parts and then fix them all in that position (as they will be welded together). I can't figure out how to do that (lock-in position). I restrained on axis and surface-to-surface but I don't know how to prevent 50168P and 50181B from rotating around.
View 4 Replies View RelatedI'd like to view the point codes (and also the links and shapes) of an assemby I have on my c3d drawing.I dont see nothing to get it ....
Civil 3D (2013)
Although the part, marked in blue in the picture, has, to my opinion, degrees of freedom, i cannot rotate it round the main assembly axis, the Z axis.
Maybe it's connected to the 2 holes underneeth it, which i projected?
Or maybe because of the axis i made through the M24 thread?
I have a problem with point codes in section views in civil3d 2013. They are not showing at all. Drawing was made in civil3d 2012 and all point codes with defined styles were displayed correctly in section views and now they are all gone. Just link codes are shown. Is there something in setup of code styles that has to be changed?
Even if i set up new code and new label style it does not show up in section view after rebuild. Just in assembly.
If i do the same for link label it does show both in assembly and in section views.
When I paste the proposed surface with the corriodor surface and I check the profile the proposed surface ties to the bottom of the kerb ignoring the footpath.Also in the same drawing file I can't seem to export it to ACAD.
View 1 Replies View RelatedIs it possible to rotate a drawing view using iLogic?
View 2 Replies View RelatedI have successfully been able to rotate the drawing view. rotating the view label.
View 1 Replies View RelatedI 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.
I'm having trouble showing a reference part in an assembly drawing. When said part is set to "reference" it is no longer visible on the drawing.
View 9 Replies View RelatedI 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
I want to know if there is any api to check if a particular drawing is a assembly drawing or part drawing.
View 4 Replies View RelatedIs 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?
View 6 Replies View RelatedI wonder if it's possible to see with ilogic if a part exciste in all others view (in assembly) of the same sheet?
View 9 Replies View Relatedhow 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.
View 1 Replies View RelatedIn assembly mode, when you right click on a part in the tree, you had ''open drawing'' as a choice. Now it's gone in IV 2013. how to add it ?
View 2 Replies View RelatedHere 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)
When I try to start a new Assembly or Drawing in Autodesk Inventor Professional 2014 - Student Version, this error shows up:
I tried to copy the file "AmSrv.dll" from another computer and the error is still showing up.
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.
View 4 Replies View RelatedUsing 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.
View 1 Replies View RelatedI'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.
View 8 Replies View Relatedas a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.
In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table.
doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.
I was wondering if there is a way to export or save an assembly drawing to .dwg format (that can be opened by cad or acad mechanical) in such a way that all the parts of the assembly are exported as individual blocks (within the same file) To explain- lets say I have a .i am out of which I create a drawing (.dwg for inventor). Then I export or save this as acad dwg. This acad dwg should have all parts of the assemblies as blocks so that if I want to work on a particular part in the 2d environment of acad, that is possible.
View 1 Replies View RelatedI'm referencing an assembly on a drawing. When new parts are added to this assembly, they show up on my drawing, anyway to stop this?
View 5 Replies View RelatedThe right click context menu on the top level assembly (on the model tree in Inventor) has the option of 'Open Drawing'.
Is there a way to do that via iLogic? Unfortunately I can't figure it out if there is. I would like to open and update the relevant drawing.
Also have tried it the other way around, that is to run my rues in the assembly from the drawing since the drawing is the parent. But I am not sure how to reference the assembly.