I am trying to recurse through an assembly, extract the mass of each part, mutiply it by the unit cost of its material and then update the cost property for each part so this can be displayed in the BOM. I can access the iProperties of the assembly but not the properties of the individual parts.
I'm looking for the best way to create a separate assembly out of various component parts in an existing assembly so that the whole thing can be placed in an assembly as you would a part, I know it's possible to demote components within an assembly but are there any other methods similar / better ?
I have assembly file in which I have created a work plane "Work Plane19" . Now I wanted to create a new work plane which will be paralle to workplane "WorkPlane19" & offset by 10.5 mm in same assembly document through VBA subroutine. I have tried with following code but getting error,
Public Sub NewWorkPlaneCreate() Dim oAssly As AssemblyDocument Set oAssly = ThisApplication.ActiveDocument
I try to develop a vba code to get the coordonates of each part of an assembly and after export them to an excel file.
I build this :
Public Sub Export_Layout_COG()
If MsgBox("Cette Macro va exporter les coordonnées du COG de chaque layout, continuer ?", vbYesNo) = vbYes Then Dim RefDoc As Document Set RefDoc = ThisApplication.ActiveDocument Refdocdisplayname = RefDoc.DisplayName
The code return an error on the red line, I don't catch why?
How Solidworks has the ability to output G-code to machine parts without the use of a seperate CAM software.
If Inventor has the ability to do this with some sort of add on? Or even if Autodesk offers a program that does this that would work well with Inventor or if I must use a seperate CAM software to do it. I have used Mastercam in the past but wasn't sure if there was an easier way to do so.
Running 2011 Inventor. Interferences are very difficult to spot on large assemblies, especially if they are small. The red color seems to be way lighter compared to the previous versions of Inventor. Are there any settings to turn on that can bolden the color?
I am designing a component whose internal mechanism is housed in a plastic shell. I want to use the boss feature in the shell so I can hold together the components internally, but the boss feature is only available in the part workspace, but in order for me to know where the internal components are so I can design my shell accurately, I have to be in the assembly workspace.
Now, if I opened the shell as a part alone, and imported (through the Derive command) the parts that need to be fit into the shell, they will appear at random positions, and because you cannot create constraints in the Part Workspace, I have no effective way of holding them where they should go.
I have 4 columns in BOM that I call out in Parts Lists on my drawings.
I need to be able to organize parts in my assembly somehow and to be able to display if needed (on Parts List) only parts belonging to one category (level?).
I could do it by creating another custom iproperty in a part template and each part would belong to a particular group. Then I could sort them in BOM in .iam environment and have particular category visible on Parts List with the other categories with visibility turned off.
I'm working on a small Assy (25 parts). When I open one of the parts from this Assy and work on it then go back to the Assy many parts are not visible. The update button is usually off so I can't use it.
This started only about 2-3 weeks ago - in every assy. I changed the nvidia driver but didn't work.
Inventor pro 2012 Win 7 Pro. sp1 64 bit Intel Core I7-2600 CPU Ram - 8GB Quadro 2000 D Nvidia 275.89 (tested nvidia 296.70 with no luck)
I have a rather complex assembly that I didn't draft but I am trying to work with. Most of my experience is with Solidworks. I'm trying to create a hole in a plate that lines up with a hole in a different part in the same assembly. I know there is probably a way to create the hole in the assembly and reference the other part but I dont know how.
When I place parts in my assembly they are stuck in the position I place it and can only be moved once I mate it to another part of my assembly. I have only recently encountered this problem, as usually when I place a parts in an assembly I am able to simply click on the component and drag/move that part around to put it in a place that suits before I use any constraints.
What is the problem, have I clicked on some function unknown to myself which has disabled the ability to move parts/assemblies when I place them into an assembly?
I have a machine with some internal parts.To see the inside parts i need to make the outside parts Glass.Can i make the outside parts Glass while in the assembly or do i need to open each part up from there folder and make the material Glass.This would be slow if i need to open up each part to make the material Glass and when finished would again have to open the part up and set back to original material.Can all this be done while in Assembly mode?
When creating a new part in an assembly and I select a face of an existing component, how does Inventor determine the orientation and origin of that new part? I understand how Inventor works when I select the plane/origin of a part or pick out in space in the assembly.But the placement based on the face of an existing component seems random..
I normally do not like creating parts inside of an assembly but I was trying some new workflows.
I have firgured out how to create a part within the assembly.I have also figured out how to add a feature in an assembly, but that feature does not attach to a
component when I need it to.What I haven't figured out is how to edit an existing part within an assembly to add a feature that references another part. Basically having an external reference (SW term).Also, is there a way to see the features of a part within the assembly?
On a different station, a component was checked oud, altered (100mm became 110mm), the corresponding dwg was also checked out and updated, and then everything was checked in.
Now i have an assembly that contains the part that was modified, but i still have the old version of it stored locally, as well as the assembly containing the part. Now when i open the assembly, i get the message stating some components had changed and that the assembly should be updated. After selecting YES to update the assembly, i get it on screen, but the part itself had not been updated. The vault tree now does show that i don't have the latest version though (red filled circle). In order to get the part to appear correctly, i need to manually select "refresh from vault" to get the correct version.
After selecting the YES i want to update the assembly I expect the parts to be updated properly without requiring additional manual actions. This has already resulted in out-of-date drawings to hit the production floor. Obviously, THIS SHOULD NOT HAPPEN!
I know one way to overcome this issue would be to delete the local source files after having used them, but i have lost plenty of work by allowing that setting to be enabled. (IV crash during check-in resulted in deletion or corruption of the files and they were not properly checked in.)
Should i log this issue or is there a solution available i failed to find?
It is possible to create parts that can update there size from changing the "root" (possibly called the derived-from part??) dimensions. I have a tubular frame structure and there is sheet metal components that enclose this structure.
We make these units in 2 standard sizes, but in the last few months, we have been getting requests from clients for extra components to be installed or sometimes components to be removed. This changes the size of the unit. Also depending on which mine they go to, some need to be shorter or longer and wider or narrower.
I have created a frame that I can change easily to to required dimensions, but it would be a dream if all the sheet metal components updated to the frame size. Most times these doors and sheet metal components stay in the same location, so if everything updated with a simple change to the frame size, that would make my job easier, and leave me more time to create new products.
I can't upload any files due to size, but I have attached a few screen shot to clarify things. Basically it is a frame unit, with doors and access panels to electrical components inside.
I have a three part question. First, I have an iLogic routine in an assembly that opens all the parts within the assembly, runs a particular rule, and then closes that part. Is there anyway I can get this to run in the background. I don't want my users to see all of my part files opening and closing.
Here is my
'assign path values in iproperties to be equaliProperties.Value("RD FLANGE:1","Custom", "FilePATH") = iProperties.Value("Custom", "FilePATH")Dim FilePATH As String = "FilePATH"customPropertySet = ThisDoc.Document.PropertySets.Item _("Inventor User Defined Properties")Try prop= customPropertySet.Item(FilePATH)Catch customPropertySet.Add("", FilePATH)End TryIf [code].....
My second question is how do I add a routine that as the part files are opened checks to see if "MyRule" is there. If "MyRule" is not there add "MyRule" else if "MyRule" exist move on to the next part.
My third and final question is there anyway for my code to distinguish between standard parts and sheet metal parts. Basically, if the opened part is not a sheet metal part then I do not want "MyRule" to be inserted and I do not want "MyRule" to be run. I want it to move on to the next part within the assembly.