AutoCAD Inventor :: Adding File To A Browser Folder
Jul 12, 2012
I'm using the following sample code to add files to a browser folder
Public Sub AddOccurrencesToFolder()
Dim oDoc As AssemblyDocument Set oDoc = ThisApplication.ActiveDocument
Dim oDef As AssemblyComponentDefinition Set oDef = oDoc.ComponentDefinition
Dim oPane As BrowserPane Set oPane = oDoc.BrowserPanes.ActivePane
[Code]....
How do I get the files added to an existing " My Occurrence Folder" rather than creating a new one. Every time I run the code a new folder is created, it does not use the exisitng one
View 1 Replies
ADVERTISEMENT
Apr 8, 2013
I am trying to use the Browsernode.addchild method to add an occurence to an empty browser folder. The code fails at this point and I gett an error pointing to the line "Call oTargetNode.AddChild(oSourceNodeDef)". I can add the occurence with the browserpanes.Reorder method without issue if the folder is not empty. The code is pasted Below.
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 29338 StartFragment: 314 EndFragment: 29306 StartSelection: 314 EndSelection: 314
SyntaxEditor Code Snippet
DimPrcsTpAsStringPrcsTp=InputListBox("Process Type?", MultiValue.List("ProcessType"), Parameter("ProcessType"), Title :="Select Process Type", ListName :="Process Type")DimRtgNameAsStringRtgName=PrcsTp&"-"&Parameter("NoRtgsInc")+1MessageBox.Show(RtgName, "Title",MessageBoxButtons.OKCancel)DimoAsmAsAssemblyDocument=ThisDoc.DocumentDimoMatrixAsMatrix=ThisApplication.TransientGeometry.CreateMatrixDimoOccAsComponentOccurrenceoOcc=oAsm.ComponentDefinition.Occurrences.AddVirtual(RtgName, oMatrix)DimoCompDefVirtualAsVirtualComponentDefinition=oOcc.Definition'CREATE AND SET THE
[code]....
View 1 Replies
View Related
Oct 8, 2012
I am trying to suppress browser folders per the API with no luck is this even possible. I would also like to control its BOM Structure.
View 1 Replies
View Related
Aug 14, 2012
how can I make a folder in the browser in the part modeling and put something like extrude,revolve & ... in the folder? (not in the assembly)
View 1 Replies
View Related
Nov 13, 2012
is it possible to change browser folder icon?
View 7 Replies
View Related
Nov 17, 2012
Alpha sort in assembly bonus tool sorts outside browser folder. Is there any method (API) to sort inside browser folder?
View 3 Replies
View Related
May 5, 2004
Is there a setting or something somewhere that turns off/on the display of the origin folder? I have rebooted and restarted Inventor. For some reason, I can't get see the folder. Even when I edit a part, it is not there. See attached images.
View 5 Replies
View Related
Apr 17, 2013
I'm trying to create an ilogic rule that will look within the folders of an assembly and take the contents of each of those folders and demote them to separate sub-assemblies.
ie. Assembly1 contains NewFolder 1. NewFolder 1 contains Part1:1 and Part2:1. Upon executing the ilogic rule, I would like Assembly1 to contain NewFolder 1 and within NewFolder 1, Assembly1-01. Assembly1-01 contains Part1:1 and Part2:1. I would like this ilogic rule to look within each successive folder within Assembly1 and demote them according to their position in the browser such that NewFolder 1 - at the top of the browser list - contains Assembly-01, NewFolder 2 contains Assembly-02, etc.
I currently copy a master assembly with browser folders that contain parts and sub-assemblies to a secondary assembly where I manually demote the contents of the folders to sub-assemblies. When I create a drawing for our machine assembly department, the demoted sub-assemblies to isolate only those parts - nuts, bolts and the pieces they fit to - so it is easier for the assembly department when putting a machine together.
Is it possible, using ilogic, to demote folder contents to sub-assemblies with an assembly document?
View 2 Replies
View Related
Jul 1, 2013
I often save drawings in DXF format elsewhere on another server for the sheet metal guys to be able to open them and work with them. It is a completely different folder and server than where my working folder is (and Vault as well). Is there a way to get that folder as a shortcut on the left where it shows my working folder? Difficult to drill down through all the necessary folders every time I save a DXF 100 times a day.
View 5 Replies
View Related
Oct 20, 2011
Why sometimes we have an asterisk (a star) after the file name in the browser (in "Vault mode")? see attachment
View 1 Replies
View Related
Jun 16, 2010
It is my first time using inventor, so I am obviously not experienced with it in the least. Whenever I open any file, part, assembly, etc... the ribbon shows up fine, but the browser will not show up, and I cannot find a way to turn it on or off (if that is even a possibility).
View 4 Replies
View Related
Oct 29, 2012
I opened the drawing and then from the drawing opened the model. In the drawing it is showing the 4th instance of ROUND CRS-032175 X 33 as an assembly. It also is not showing in the view and yet the visibility is checked. AI2012 SP2
View 1 Replies
View Related
Nov 7, 2011
When I press F1 Inventor opens the help on my default browser (Chrome), but when I click the bynocular it uses Internet Explorer.
Is it possible to force Inventor to use a browser of my choice or the default browser?
View 1 Replies
View Related
Oct 25, 2011
An IPN file is showing multiple assembly files in it's browser even though I have confirmed there is only one of the assemblies in the IAM file.
I'm not sure if it's causing any real difficulty in the IDW views but it's not giving me any confidence.
When is the poor, undercared-for part of the software going to get an overhaul?
View 2 Replies
View Related
Jan 7, 2013
Is there a way to rename browser nodes within a part in a similar way that the rename browser nodes tool works in assemblies? I am copying designs with derived parts, after copying the design I can see that the part files contain the correct links to other parts when I open the base component but they display as the old name in the browser which is not ideal.
View 4 Replies
View Related
Jan 9, 2012
we've loaded Inventor 2012 on an new PC and it did not load the "FILE STATUS" box under the Model Tab in the Browser - I know there is a way to "turn" it on but have lost those instructions.
View 4 Replies
View Related
Oct 4, 2012
I am looking to apply a set part number iproperty to the first, then second, then third components in the assembly browser tree in my iLogic rule, regardless of their current part number. (I need to select them by their position in the browser tree as their part number will vary). How do I do this?
View 1 Replies
View Related
Jan 2, 2013
i use inventor 2012 and Vault Collaboration 2012.
for file naming format i use numbering scheme rule.
in the vault browser is eazy to show the description from each part, search by description etc.
but when ia want to select from inventor, for example i want to replace component from vault or add component from vault. i can't see this description.
my question is, how to show the description in the file browser from inventor?
View 1 Replies
View Related
Aug 27, 2012
I'm trying to get the filenames of some drawings in a folder. I've got the following code, but it's not working. I get a file count from the line "filecount = objFiles.Count", so it's recognizing "objFiles" as the collection of files in the folder, but everything after that simply does nothing. Oddly, I can change the "If" statement from "<>" to "=", and it still reads the "Then" statement in both cases. However, the FileName is blank.
Dim objFile As FileDialogs
Set objFile = New FileDialogs
objFile.Title = strFolderName
objFile.StartInDir = "C:Documents and Settings"
strFolderName = objFile.ShowOpen
[Code] ...........
View 6 Replies
View Related
Jul 19, 2013
I am trying to create a logic rule to replace the model reference in a idw file and then save as using the new file reference name. I am able to do this for individual files or components within an assembly file.
However what I would like is to check through all files of a certain type (for example ipt with filenames beginning "SSUA" ) in a specific folder.
The following code from Curtis Waguespack works well for individual selected files but I would like to take it a stage further with the above parameters.
Dim oDoc as DocumentoDoc = ThisDoc.DocumentDim oRefFile As FileDescriptorDim oOrigRefName As Object For Each oRefFile In oDoc.file.ReferencedFileDescriptors'get the full file path to the original internal referencesoOrigRefName = oRefFile.FullFileName'present a File Selection dialogDim oFileDlg As inventor.FileDialog = NothingInventorVb.Application.CreateFileDialog(oFileDlg)oFileDlg.InitialDirectory
[Code]........
View 3 Replies
View Related
Apr 11, 2011
I managed to change a setting to where my files are being saved in a library folder and I can't edit them. I don't wish to continue with this nonsense. I want to be able to edit the files. I am not using a vault but still get a message that the file I am trying to open is not signed out to me. How did I manage to mess my settings up this badly. I don't remember changing any of my settings.
View 7 Replies
View Related
Jul 3, 2013
I am trying to download a file to new folder created in Autodesk 360 but this program responses in downloading some other compressed file as you can see on the video. The downloading of this not requested file lasts endless.
[URL]......
View 3 Replies
View Related
Jul 19, 2005
All of a sudden I get this message when I try to change the materials of any part within my workspace folder. I looked at the project and everything looks fine. I can save the file but cannot change or add anything now.
View 5 Replies
View Related
Apr 8, 2008
inserting or adding an image to the drawing file.. i ve the reference point and the bmp file path.. but the error "Run-time error '-2147467259(80004005) Method 'Add' of object '_IRxSketchImages' failed" is flashed.
View 6 Replies
View Related
Sep 27, 2013
After finishing a part in Inventor 2014 a want to store it as a STL file. Thats no problem but when the part is saved as STL it measurement don't add up any more. The STL file becomes a factor 10 smaller. So 50mm ends up as 5mm. So thats a problem.
View 3 Replies
View Related
Nov 8, 2012
I have a vaulted project with about 1000 parts in it and a subfolder within that that has about 250 parts in it.I am told that vault does not manage references outside the project scope as defined by the IPJ which in theis case is at that 1000 part folder level.
If I go to rename the folder with 250 parts in it, it takes up to a half hour. I am having trouble believing that vault can't do better than a half hour to manage the references of a subfolder of a project with 1000 parts in it, when only 250 parts are affected.
Also, I notice a secondary ipj file is created temporarily during the renaming. That ipj appears under an inventor folder under my docs. Can't see why it takes two ipj files to manage one project. Also don't understand why there should be a local ipj file active when I am renaming at the vault level. I am suspicious that this other ipj (named after my company name, indicating a purposeful act) is expanding the scope of reference management since its parent resides at the root Vault explorer ($) separate of the projecy ipj. Also takes way too long to rename individual files.
View 2 Replies
View Related
Dec 4, 2013
I am trying to add instances of an ipart to an assembly automatically from an excel file and need to be able to specify the occurrence x, y, and z positions. Since the Inventor version is so old I have not been able to find the proper documentation.
View 1 Replies
View Related
Jan 24, 2013
I added a new "Standard" and "Fastener Type" to the Clearance.xls file for my Inventor 2013. This was done in an effort to create a standard set of dowel hole sizes in our design department. So far it is working, however I have a few improvements I need implementing.
Changing the "Fit" name from "Close/Normal/Loose" to "Press/Nominal/Slip" to make it more user friendly in the hole wizard.DeterminE how to create a custom hole callout in .idw drawings for this new hole type. I would like to use the Hole Callout feature and have it automatically place our specific hole information/text for the machine shop to create the hole.
Ex..
Drill and ream for 1/4" Dowel hole
Press Fit
.2495 +0 -.0005
I have attached the clearance.xls file we modified to get this new fastener type to show up in our hole wizard.
View 4 Replies
View Related
Aug 29, 2012
I am trying to copy big assembly with its folders from one folder to another.I cant use Copy Design because I get too long path error.
Alternative way of copying files and keeping its relationships?
View 3 Replies
View Related
Dec 13, 2011
I create an I part and I noticed it creates a folder within my main folder. This introduces a bit of chaos into my folder structure, is there any way around it?
View 5 Replies
View Related
Mar 1, 2013
When I add an addtional plugin using preferences-plugins in CS6 the plugin shows up in cs6 but my active tools will pulsate or vibrate around when I try to use them. If I uncheck the preferences-plugins- additoonal plugins and reboot the pulsating of the tools ceases. Any way to stop the pulsating tools?
View 1 Replies
View Related