AutoCAD Inventor :: ILogic To Demote Contents Of Browser Folder

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


ADVERTISEMENT

AutoCAD Inventor :: Cannot Add Browser Node To Empty Browser Folder

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

AutoCAD Inventor :: Suppress Browser Folder?

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

AutoCAD Inventor :: Make A Folder In The Browser?

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

AutoCAD Inventor :: ILogic Control Browser Folders?

Nov 22, 2013

Working on a product configurator using iLogic and have a large amount of hardware that needs to be suppress or unsuppressed based on certain parameter choices.  Instead of creating hundreds of lines of code suppressing and unsuppressing the hardware one by one, I was hoping to put hardware into folders based configurations.  In my mind this would have allowed me to have one line that would suppress the folder as needed.  Unfortunately I cannot figure how to suppress a folder in iLogic as I saw someone else mention I was hoping for a "Folder.IsActive" rule but have yet to find one. 

Inventor 2013

View 6 Replies View Related

AutoCAD Inventor :: Using ILogic To Rename Browser Nodes?

Jul 3, 2013

how to create an iLogic rule that automatically renames the browser nodes based on part number.  I know that this is a function in Inventor itself.  The problem is that there is no built-in functionality to automatically change the default browser name to something besides part number.  I've done a lot of digging and I came across the following code from an old thread discussing Inventor 2011.  I am interested in 2013.  It is also worth noting that when I run this code, my Inventor crashes.  
 
PrivateSubMain
UpdateAssyBrowser(ThisDoc.Document)
End Sub

[Code]....

View 9 Replies View Related

AutoCAD Inventor :: Browser Name Using ILogic Particular Change To The Number

Jul 4, 2012

I want my browser name using iLogic particular change to the part number. I fill in my iproperties, the part number. Then the browser name has to take over the part number.

But i get an error.

doc = ThisDoc.Document
Dim oCC As ComponentOccurrence
For Each oCC In doc.ComponentDefinition.Occurrences
OccName = oCC.Name
oCC.Name = iProperties.Value("Project", "Part Number")
Next

View 4 Replies View Related

AutoCAD Inventor :: Change Browser Folder Icon

Nov 13, 2012

is it possible to change browser folder icon?

View 7 Replies View Related

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 View Related

AutoCAD Inventor :: Change Browser Node Icon Using ILogic?

Dec 21, 2012

How can I change the default icon that shows up in the browser node in a part file? I found some VB code but can't seem to get it to work with ilogic.

View 7 Replies View Related

AutoCAD Inventor :: Browser Is Not Refreshing After Replacing Elements With ILogic

Jul 10, 2012

When I replace elements with iLogic the Inventor Browser is not automatically refreshed.

E.g. I have a file A.ipt and I replace it with B.ipt then in the Brwoser will be shown: A.ipt:1, even when B is already inserted.

Is there some refresh, like "Update Browser nodes when done" ?

These both has no influence on it:

iLogicVb.UpdateWhenDone = True
InventorVb.DocumentUpdate() 

By the way. To Update the Browser manually, I have to rename the block nodes (From Filename to Filename). So it's only opening up the Renaming Function and then hitting "ok".

If there's no direct function to update the Browser, maybe there's a way to do the manually way by iLogic?

View 9 Replies View Related

AutoCAD Inventor :: How To Sort Parts Inside Browser Folder

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

AutoCAD Inventor :: Origin Folder Not Being Shown In Browser Of Assembly

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

AutoCAD Inventor :: ILogic - Select Specific File In Browser Tree

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

AutoCAD Inventor :: Rename Browser Node On Part Level With ILogic Rule?

Oct 18, 2011

is it possible to rename the browser node on part level with an iLogic rule? I know that in the assembly environment is an Inventor OOTB functionality to rename the nodes to the filename, Part number or the default value.

Inventor Professional 2011
Windows 7 Enterprise 64bit
Dell Precision M4500
Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
8 GB RAM

View 2 Replies View Related

AutoCAD Inventor :: 2014 ILogic Rule To Change Visibility Of Workplane Selected In Browser

Oct 4, 2013

I want to be able to have All Work Planes set as 'Invisible' but create a Message.box or Icon that allows me to change the Visibility of any individual workplane(s) physically selected in the browser.

A rule written by another member should do the trick if the following line could be altered so as not to read 'For Each' oWorkPlane but instead for 'Each Selected' oWorkplane.

'For Each oWorkPlane In docFile.ComponentDefinition.WorkPlanes' 

'get user input
oInput = InputRadioBox("Select workplane visibility:", _
 "Turn ON workplanes for all components", "Turn OFF workplanes for all components", "False", "iLogic")
'Define the open document (top level assembly)
Dim openDoc As Document
openDoc = ThisDoc.Document

[code]....

View 1 Replies View Related

AutoCAD Inventor :: Demote Solid Bodies To Sub Assemblies

Dec 5, 2012

I have an assembly file for a fan casing. We reuse this model and scale it up and doen depending on the size of fan.

For transportation we split the caing into several parts and join using flanges. The number and angle of splits changes depending on the job and geometry.

To model this we share a sketch through the parts and use the split solid command to split them.

I would like to able to create sub assemblies from the main assembly so that drawings and masses can be obtained for the sub assemblies. However, the 'Demote' command does not allow you pick individual solids from a multi solid part.

I have tried creating new parts from the split solids but these are not in the correct location as they are not constrained correctly.

Is there a way to use the Demote command as I am proposing? or is there a different method to split my parts?

View 3 Replies View Related

AutoCAD Inventor :: Can't Demote - Error In RSe Clone Commander

May 29, 2009

For a window selection of several parts to demote, results in the error:

! Error in RSe clone commander

IV2010 sp0 on Windows XP 32bit SP3

I tried restarting app, relogging in, and restarting workstation.

I can provide dataset to any Autodeskie interested in this bug.

See attached image.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Forms Picture Folder?

Sep 9, 2013

I have a small problem with iLogic forms picture folder. Is there a way of seting the image by the selected tab ?

I want to update the image by the tab selection.

I have tried "if" or "select case" and neither one worked. as I am saying Stair_Properties = True it only makes the tab active. It doesnt indicate if it is selected, here is the code :
 
If Stair_Properties = True ThenImage = "Image 01"End IfIf Railing_Properties = True ThenImage = "Image 02"End IfIf Riser_Properties = True ThenImage = "Image 03"End If'Select Case Image'Case Stair_Properties'Image = "Image 01"'Case Railing_Properties'Image = "Image 02"'Case Riser_Properties'Image = "Image 03"'End Select

View 1 Replies View Related

AutoCAD Inventor :: ILogic Forms Picture Folder

Aug 5, 2011

What is it for and how do I use it? Will it allow me to switch between different pictures for display on my iLogic form?

If so? How do I set which picture to display?

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Save To Specific Folder Within Workspace

Mar 15, 2013

Is it possible to automatically divert Inventor to save to a specific folder within the workspace???

If a certain iProperty is set to yes, we want the user to save that file into a particular folder, if they try and save it elsewhere a message is popped up telling them an error has been made please try and save in the correct folder.

Admittedly I am not the most competant iLogic programmer but this is what I have thus far

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    5388 StartFragment:     314 EndFragment:    5356 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet
WorkspacePath=ThisDoc.WorkspacePath()
DrawingPath="C:Live WorkSpaceDesigns3D Designs3D Drawings"

[Code] .......

View 4 Replies View Related

AutoCAD Inventor :: Default Template When Using Demote (Create In Place Component)

Mar 6, 2012

how to change Default template when using "Demote" in an assembly? Discovered that it was set to use harness.iam as default, want to have standard.

View 1 Replies View Related

Photoshop :: Add Folder Contents To New Layers Without Resizing

Dec 4, 2008

I am creating a montage. I am wondering how to add all files in a specific folder to new layers without resizing them. I am aware of the automateII function but it resizes the images.

View 6 Replies View Related

Photoshop :: Unable To Move Contents Of Just One Layer In Folder

Jun 19, 2012

Recently upgraded from CS2 --> CS5 in windows.   This issue started with that upgrade.  Been using PS for years.In my large PSD files I use folders to logically-group layers.  With CS5, when I put layers into a folder, it automatically groups the layers (not links, groups).  When trying to move the contents on ONE LAYER in a folder (using the mouse).... it moves ALL the layers in the folder.  
 
If I use the keyboard ARROW keys, I can move the contents of one layer in a folder independently of the other layers in the folder.I have not explicitly asked PS to group or link ANYTHING in my file.  The default seems to be to GROUP layers in a folder.  It did not used to be this way. 
 
If I UNGROUP the layers in the folder, it deletes the folder and the layers are now all at the root level.  I lose my organization.The only way to get around this is either: 

(1)  leave the folder grouped and use the keyboard arrow keys to move the contents on one layer (way too cumber some), or 

(2) MOVE the layer out of the folder, move the contents of it, then move the layer back into the folder.

View 3 Replies View Related

AutoCAD Inventor :: Drawing Browser Doesn't Match Model Browser

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

AutoCAD Inventor :: Force To Use Browser Of Choice Or Default Browser?

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

CorelDRAW Graphics Suite X6 :: Items In Contents Folder Be Opened Directly Into Photoshop CS6

Feb 5, 2013

Can the items in the Contents Folder (e.g. Frames, pictures, etc.) be opened directly into Photoshop CS6 without first being opened in CorelDRAW X6.  I have both programs, and it would be great if I had access to those objects whenever I'm using Photoshop.

View 3 Replies View Related

AutoCAD Inventor :: Truncated Balloon Contents

Sep 18, 2012

If you're displaying the part number in a balloon, is there any way to truncate what is shown?

e.g., I have a part number "abc12xyz89", and want the ballon to display only "xyz89".

View 4 Replies View Related

AutoCAD Inventor :: Custom Catalog In Contents Center

Jul 26, 2012

We are expanding our OEM range.  I am having trouble adding the parts to our Inventor contents center.  I have linked parameters like "L1 and L2" to determine the part's size.  When I place this part form the contents center I do get Key Columns for L1 and L2.

However, I am only getting one size under each column.  I tried setting values to the parameters before publishing the parts, but this made no difference.

View 2 Replies View Related

AutoCAD Inventor :: Custom Catalogue In Contents Centre

Jun 26, 2013

We are working with Inventor Professional 2014.Since switching every time we create a bolted connection using content center files inventor will not let you proceed without checking the bolt/washer/nut out from vault.

This causes issues as other operators are constantly out of date.Also we have custom properties created in our files to tally up with our descriptions on drawings.Every time it is checked out it clears the info and creates new version.

View 3 Replies View Related

AutoCAD Inventor :: Tessellate TextBox Contents Into Geometry?

Dec 13, 2012

I am using Inventor 2013 API for an application that imports Solid bodies and Sketches from Inventor parts.

Observed that when we import sketch entities, the Text object simply returns 4 lines representing its bounding box. What I want to do here, is to get the formated text as a collection of geometric entities. (lines, splines, arcs)

Is there any API available to "explode" text into entities, or may be a cleaner method that simply returns tesselation of formated text?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved