AutoCAD Inventor :: Open A Assembly File / User Selects A Part / Plugin Automatically Runs
Feb 27, 2013
is it possible to write a plug in that runs when a user does something.example. you start inventor and open a assembly file the user selects a part and the plugin automatically runs.no pussing buttons, no quick key, it just runs.
View 2 Replies
ADVERTISEMENT
Dec 1, 2011
I have an assembly with a subassembly in it. The subassemblies bom structure is set on Normal so that the subassembly number shows on the main assembly BOM and not the individual parts.
However when I place the parts list on the .idw of the main menu it keeps on selecting the parts structure for the BOM, I need it to select the structured view. How do I get it to select the structured view on the BOM so that the BOM does not show the individual parts of the subassembly?
I have made sure that the parts view on the BOM in the source assembly is disabled.
View 4 Replies
View Related
Feb 24, 2013
I'm working on Autodesk VBA, and I'm trying to get user input on which vertex to use for a constrain. I want to make a macro that can go into part edit, allow user to select a vertex, and then automatically set up the constraint. Initially I wanted to do this in a single macro, using this short piece of code
while oSelectSet.Count <>1
DoEvents
Wend
While this worked when run directly from VBA, if I call it as a macro in Autodesk itself, the DoEvents doesn't seem o work because I wasn't able to make any selection at all. I googled and it seems like this is just how macros are.
So I split the code into a 2 subs and a function (as attached), and put them into separates rules that I call using a form in Autodesk. The first sub "Meta1Pin1_1" works, then I would select a vertex in edit mode. But when I go ahead and call the second sub "Meta1Pin1_2", I get the error message that I created which says no vertex is selected. But if I select a vertex and call the second sub again, it will work.
So I've been trying different things and I realize that every time when I first call the second sub, my selection is erased teh moment it goes into the sub. But, for some unknown reason, the selection will remain when I call it the second time. I can't figure out what exactly happened between the first and second call of the same sub, that allowed the selection to remain.
' prepares assembly for user input by grounding bones and going into part edit
Public Sub Meta1Pin1_1()
Dim oDoc As AssemblyDocument
[Code]....
View 2 Replies
View Related
Apr 1, 2013
I have a Part List in the assembly drawing.
This list has Renumber Items activated.
All renumbered items become in blue cells in Part List properties table.
All added or altered after that Part Properties are not shown in this Part List.
For instance if I would add or change some Description, Comments or other properties to some parts which are in “blue” cells those will be not updated in neither auto nor any manual way.
So far I should delete and create the table again to see new added properties.
The question is: Is there are any other more simple ways to update the Part List table without recreating it from scratch?
View 3 Replies
View Related
Jan 7, 2013
I had with a custom texture not showing up on my parts while they were showing up on a coworkers computer fine. I recently cured my own issue (I just needed to click Textures On in the View toolbar under Appearances). I am thinking it is going to be a simple fix as well but I have not been able to find it.
Everytime I close out of a part or assembly it automatically turns the textures back off so I have to turn them on everytime. I looked through the Application Options and Document settings to keep textures turned on but could not find anything. How to turn the textures on and leave them on?
View 1 Replies
View Related
Mar 28, 2012
Dear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.
View 3 Replies
View Related
Nov 15, 2013
New user 2014
Part created in assembly does not update to part file.
View 9 Replies
View Related
Jun 27, 2012
I've been working on putting all Pneumatic/Hydraulic/Electrical runs into our models lately, and while the modelling portion of it (actually making the runs) is fairly straight forward, it seems that documenting it in a way that the shop can easily work with it is another story.
Due to the large size of the assembly and amount of runs we have, it is difficult to capture in 2D printed drawings.
We do use Vault, so I think our solution is going to be to have our visualization files (dwf) automatically sent to a network location that can be accessed by the shop.
Now i am having issues with actually naming each run, so that instead of it saying Route 10/Flexible Hose 6 that it says something actually useful such as "Supply Gladhand to Filter". I am unable to rename any of the routes (I can rename the Runs though), so I figured I would put a description into the iProperties of the Flexible Hose portion of each route, and export the object properties when making the dwf.
Now, when I select a solid part that I made in Inventor, I can see its description in the Object Properties of design review no problem, but if I select a hose in design review, the only Object Properties i see are its Center of Gravity.
Is there any way to get a semi-useful description into a dwf for a tube/pipe run, or am I out of luck?
View 2 Replies
View Related
May 21, 2012
I would like to have a rule that will add specific user parameters to a part file. These parameters need to be formatted so the width, depth and thickness will control the description of the part.
IE:
Width=4
Depth=2
Thickness=3/16
DESCRIPTION = TS <Width>X<Depth>X<Thickness>
I would like to format each parameter so that the:
Format=Fractional
Precision=1/16
Unit string=False
This is what I have so far:
oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters
oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"
[Code]...
The TOP_RAIL parameters are from a linked file.
View 9 Replies
View Related
Feb 8, 2012
using IV2012 within the same project file i have three models. one model i can open parts or assemblies from the browser or right click on the component on the window. the other two models upon the right click or selecting in the browser the open or the edit are not available as an operation.
T7400-64bit XP
Xeon 3.2 GHz, 8GB
1.5GB NVIDIA Quadro FX5600
Factory Design Suite 2012
View 1 Replies
View Related
Sep 24, 2012
I want to import some of the iproperties of one ipt file into an iam file.how to do it.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 9 Replies
View Related
Dec 13, 2013
Describe the external referencing of a part file by an assembly file? I keep getting confused between part file and an assembly file.
View 2 Replies
View Related
Apr 29, 2013
if i need to rename or change anything in the iproperties of ipt, im doing it from the vault.my problem is that, when i change something in iproperties of an ipt thru vault, i have to open the idw to update it.
as most of the iproperties in ipt shows in the idw.
its easy to change the properties in vault. but its deleting its purpose if i have to each idw to make sure i have the updated idw.is there a code where i can open all idw and save the same file and checking to the vault automatically?
View 9 Replies
View Related
Sep 14, 2012
Is there anyway of finding out a part or assembly files dependencies external to inventor without using vault?
View 1 Replies
View Related
Nov 7, 2013
Is it possible to identify the location of a part in an assembly file?
I cannot access (or find access to) global locations, just local. You may ask, whats the problem? Well, right now, I have 10 subAssemblies and they are all "located" at (0,0,0), which means I have 10 solids sharing the exact same space. This problem can be easily fixed if I can compare the Global Origin to a Local Origin, but I can only find the "work axes origin" which is worthless to me.
View 2 Replies
View Related
Sep 18, 2012
We have an iLogic assembly with to parts in it. Maybe to cylindrical parts. The iLogic rules should do the following.
1. Start a Rule after open document.
2. This Rule starts a Rule in the first cylindrical component.
3. This Rule ask the user for a diameter.
4. The assembly gives this new parameter value to the second component
5. Then the assembly calls another rule in the second component to change it with the new parameter
Everything is working fine when the following combinations are taking place:
1. I open up the assembly out of vault or from a local drive or an accessible server drive
2. I insert the assembly as sub assembly in another assembly from a local drive or an accessible server drive
It don't work with the following situation:
- I insert the assembly as sub assembly in another assembly out of vault
Then the user becomes the dialog "Choose a diameter" twice.
I don't know why, but I have the idea it has something to do with the functionality of inventor to insert a component more than once. If you insert a component in an assembly Inventor gives you the opportunity to add more than one occurence after each other.
change that behaviour? Maybe a switch to change that inventor "add more than one occurence" behaviour.
View 1 Replies
View Related
Jan 22, 2013
My goal is to open have people go into a central assembly file, type in their specific parameters and the various part files update within the assembly. I wish to do this without the need for an excel sheet, but when I try to link the parameters from the assembly file to the part files, it will not allow me to insert these parts. I get an error about an "assembly can not be placed into itself."
Iparts will not work as this has an infinite amount of sizes.
View 3 Replies
View Related
Jan 30, 2013
I have finished all my parts and now i have to assemble them. I normally just use the constrain tools, but this time i need to set a part in mid air. I would like to use the move tool, but with exact xyz coordinates. I only seem to be able to do that with an UCS (coordinate system), not the part itself. I guess it's just a button i'm missing somewhere.
View 2 Replies
View Related
Jan 30, 2013
How can I make an assembly file independent from the part files that went into it? I tried converting it to STL then opening the STL document, but that causes problems with what I'm trying to accomplish.
View 4 Replies
View Related
Sep 9, 2012
I have an assembly with a few parts inside and want to create a new part(hose) in the assembly and link some faces from other parts within the assembly to my new part to show the routing of the hose.
Can I link faces within an assembly to one of the assembly components.
View 2 Replies
View Related
Nov 6, 2013
I am trying to extract part locations from an assembly file. I've been successful UNTIL I come to a part/subAssembly where the workAxes is orientated differently then the overall assembly axis. Is it possible to compare the local axis to the global axis? If the answer is 'yes', can sample code be posted (i.e. dim sameOrientation as bool; sameOrientation = ... )?
Also, once I know that "sameOrientation = false," how would one convert local coordinates to global coordinates?
View 2 Replies
View Related
Nov 22, 2012
I am currently working on a school group project that requires me to submit all inventor files as "LASTNAME_FIRSTNAME_PART,ASSY,DRAWING,etc..NAME". My original parts were all done in mm instead of cm, so for our project, I opened all new files and derived the same parts at a different scale to fix this scale issue between the members. For the new derived parts I temporarily allowed the file name to remain as part1, part2, part3.... and continued with the assembly. Now that my assembly is complete and I would like to change my part file names to the required format, my assembly will not show the parts and (?) symbol is shown by all parts with updated file names. I also changed the original file names and now the new derived parts, when opened, have the same (?) which I assume is related to the fact that the derived parts are dependent on the original file. Is there a way to update this information? We are using INVENTOR 2013.
View 2 Replies
View Related
Apr 17, 2012
I have received a great solution from Bobvdd allowing ilogic control of the view rep in a part file (not an assembly file). The code below works brilliantly when the part file is the active document. However when the part is placed in an assembly and the ilogic is run with the assembly active, the code produces no result. How to modify the top 6 lines of code?
Dim oApp As Inventor.Application
oApp = ThisApplication
Dim oDoc As Document
[Code]....
View 2 Replies
View Related
Apr 27, 2012
I would like to save my inventor Part and Assembly model file in a lower version. Like in our company we use both Inventor 2012 and 2010. Once the file is created in 2012 and when shared to 2010 users they are unable to open, is there any possiblities to open 2012 files 2010 like how we do in Autocad.
View 2 Replies
View Related
Dec 13, 2013
I have an assembly in which the thickness of each of the layers in an assembly are generated from a part file that is split via a sketch. I use the Make Components tool to break the part into the individual layers, which also spits out an assembly.
Is there a way to push the thickness value of these parts that will update automatically if the thickness is changed in the parent part, in order to reference this property on the drawing?
View 6 Replies
View Related
Apr 24, 2013
I have created a parametric, multibody master part file to derive parts from it, and then put them in an assembly. See attached file. Now, I need 3 different versions of this setup (with different values of the parameter 'bending_angle').
What is the best way to do it? If I derive parts from it, they always follow the *actual* status of their master file. Is there some method to do this: "derive from this file, with parameter bending_angle=55deg", but keep the dependency relation, i.e. if I modify something on the master file, the derived part fill follow the modifications (with the value of bending_angle=55deg)
Inventor 2013
View 3 Replies
View Related
Jul 20, 2013
How do I open an 2014 assembly file to 2013
View 1 Replies
View Related
Jul 13, 2012
i am trying to open the 3D part file from Parasolid Document to Inventor but it reflected only half of the 3D model.
Attached is thepdf file of how exactly it looks like and the parasolid file also.
View 4 Replies
View Related
Apr 1, 2013
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
View 5 Replies
View Related
Dec 11, 2013
I would like to simplify this assembly into one seamless part for FEM calculation:The assembly consists out of parts that, in reality, will be welded together. Due to their form, there is no way to place them exactly onto each other, therefore there are slight gaps between the parts:
Now when I try to merge the assembly into one part via "simplify" --> "create simplified part" and choose "single solid body with seams between planar faces merged", Inventor does not fill these gaps (even though it displays only one part in the bottom right corner of my window). Unfortunately, the remaining gaps brings "contact" problems in the FEM simulation.
how to close the gaps and really merge the assembly into one part?
View 6 Replies
View Related
Mar 29, 2012
I have a part that has protrusions. When i mate that part up to another part that second part needs to have cutouts/holes to receive those protrusions.
i mainly use it in sheetmetal parts. and use the rectangular protrusions on de contour to mate up with corresponding cutouts in the other sheet. this works with positioning and also makes for a nice weld spot/area.
But also for making holes to accommodate a mold pin used in custom punch dies. I want the intervening part to receive a corresponding (propperly tolleranced) hole automatically. Much like a bolted connection does.
same for parts like circlips. i want them to automatically generate the seat in the part it's mated to. Rather than using the axle generator.
Ofcourse one can place the parts and do an in assembly interpart projection and go from there, but i want the part to generate the (predifined) modification to the other part. It would save time and also reduces problems as the parts are moved about or even removed.
View 7 Replies
View Related