AutoCAD Inventor :: Models Selection In Browser Tree-Drawing Mode?
Nov 20, 2012
In Inventor Drawing Mode how to select the models in Browser tree using VBA, I think using selectset is not possible in my knowledge. Is there any other way to execute the selection .
View 1 Replies
ADVERTISEMENT
Oct 8, 2012
I'm dreaming of a Macro to automate the following process that we use every day. We use it to highlight connectors so people can build our product easier.
We manually do the following:
In a drawing view we select a whole set of components (the connectors). Afterwards we change the color to green (using properties) & press hidden lines. This way you can clearly see where you need to place the connectors.
-> see .pdf attached with some pictures making it all clear
I'm being busy to create the code for this but I'm stuck over adding occurrences to a selection set so I can then apply the hidden line command
This is my code so far:
Sub AutoColor()'Step 1 Select a drawing view ' Get the active drawing document. Dim drawDoc As DrawingDocument Set drawDoc = ThisApplication.ActiveDocument ' Have the user select a drawing view. Dim drawView As DrawingView Set drawView = ThisApplication.CommandManager.Pick(kDrawingViewFilter, "Select a drawing view.") Dim docDesc As DocumentDescriptor Set docDesc = drawView.ReferencedDocumentDescriptor ' Verify that the selected drawing view is of an assembly.
[code]....
Step 1 works
Step 3 works
Step 4 & 5 are for a later moment
Step 2 calls the sub "SelectOCC". this sub cycles true the occurrences, I can filter them on file location so I only get the components needed (the connectors). In theory it should be possible to add the given occurrences to the selection set so I can run Step 3 afterwards on it.
But I don't succeed in doing this, I've tried countless of methods but without success.
View 6 Replies
View Related
Dec 5, 2013
The model tree browser is freezing multiple times per day. Even if I close the browser and re-enable it in the View>User Interface menu, it is still frozen. It wont unfreeze until I close Inventor completely and re-open it.
Dell M6700
Win 7 Pro 64Bit
i7 3720QM 2.6GHz
16 GB RAM
Nvidia Quadro K3000M
View 5 Replies
View Related
Aug 21, 2013
When I try to replace a component in Inventor 2014. It replaces it but does not update the tree in the browser. I have to manually delete the part and place a new one in.
View 9 Replies
View Related
May 18, 2011
I am migrating into Inventor from Solid Works, which had a keyboard short cut for collapsing the parts tree in the browser. Is there a similar command for IV?
View 9 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
Jun 11, 2013
I want to reset the number for the sketches, extrusions, etc. in the browser tree of my template file to start with 01 instead of sketch48 and extrusion69.
I also want to reset the model parameters to start with d0 instead of d485.
The attached image show an example of a simple cylinder that I created from my .ipt template file.
View 5 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
Jun 5, 2012
In 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 Related
Mar 11, 2013
I have two different models that I want to place on top of one another in a drawing. One is a before machining and the other is after. I would like to be able to show one model with a different line type on the drawing and have it superimposed on the other drawing so that somone can see them both and the difference between them. I looked at the Positional Representations feature and it does not seem to do this.
I am using Inventor 2013.
View 9 Replies
View Related
Sep 21, 2012
when I have part make with frame generator. I have problem expand tree in drawing.How expand tree in drawing when part make with frame generator.
View 2 Replies
View Related
Nov 26, 2013
I am making a control console with a bunch of plastic tags on my pilot devices. I use the sketch text tool to write the label on each tags.
When comes the time to make my drawing, I get my model sketch and they show on my 2D, no problem.
Well today, it seems Inventor 2014 just gave up on giving me my sketches. Here is the console view of of the lid with the tag texts showing:
Now let's go over the second lid on the same plan and get my model sketch to see the rest of my text.
Click on it and ....
Nothing! still no text.
Windows 7 Ultimate 64-bit SP1
Intel Core i7-4930MX CPU @ 3.00GHz
32.0GB Dual-Channel DDR3 @1600MHz
NVIDIA GeForce GTX 780M 4GB Ram
240GB SSD/500GB HDD
Autodesk Product Design Suite Premium 2014
View 6 Replies
View Related
Feb 24, 2013
when I'm in a part file and attempting to open the related drawing file by right clicking on the part name at the top of the design tree, the drawing can't be found automatically and I've to find it in the file open dialogue box.
View 2 Replies
View Related
Aug 10, 2012
Looking for a way to add additional properties to the drop-down list in Rename Browser Nodes.
Standard List:
Filename
Part Number
Default
Additional properties would be a concatenation of native inventor properties:
<Part Number>-<Description>
View 5 Replies
View Related
Oct 6, 2011
We are looking for a workflow example of developing casting models into machining models.
Typically our castings are made from different materials (Fig-1) and then machining (Fig-2) are created from these castings.
Is creating the casting as an iPart (with different materials) and then deriving the machining from the casting the proper method?
Doing it this way seems to force us into making a machining for each casting material instead of just one machining that is an iPart. How should this be set-up for BOM purposes and for use with Vault (Base Version)?
View 3 Replies
View Related
May 18, 2013
line of Inventor 2013 iLogic that can change the browser node name of an IDW?
Specifically, I'm only interested in changing this:
I know how it's set by default, but someone has managed to fix their template so it only ever shows "A3 template" in this field. consequently, this problem now persists throughout hundreds of drawings. If I can fix it with a line of iLogic, then the wickedly awesome CodeInjector can be used for fixing all the drawings.
View 5 Replies
View Related
Jul 1, 2013
Is it possible to make iLogic rule to do this:In dwg Place part and in Browser to see part name without extra typing. Not Sheet 1 sheet 2 etc.
View 9 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
Sep 11, 2013
When creating a selection Command using the PromptXXXOptions and PromptXXXResult. The entities are selected on the current view, but once the selection ends the entities return to an unselected state.
Is it possible to leave them in selection mode.
I want to this, because it will be better to use Editor.SelectImplied() instead of saving the last selection object Ids.
View 2 Replies
View Related
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
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
May 31, 2013
I need to make a selection of this tree:
so that it looks like this:
and its proven to be very difficult. My tree looks pretty terrible, and it's definitely not as clean as the tree in the poster. I'm using the quick selection tool.
View 3 Replies
View Related
Aug 22, 2013
Starting a drawing which now needs a revision. Can't for the life of me find a revision cloud tool to mark up a change. This is the feature in SW [URL].......
View 1 Replies
View Related
Jun 5, 2012
Somewhere along the lines I must have clicked something to lock my views in drawing mode once I place them because after placement I cannot click and drag them around anymore...
Inventor 2013 PDS
----------------------
Inventor 2014 PDS
View 7 Replies
View Related
Mar 8, 2013
I am using inventor 2013. I am doing some standardization process to make design drawing.How can i create library for "Symbols" so i can use it in any drawing?
Thing is, I am creating a symbol in drawing and using it many times in one sheet.Now when i prepare a next drawing, i can not use the same symbol.so what i have to do is i have to create a symbol everytime for each drawing.I am not able to maintain consistency.
View 2 Replies
View Related
Sep 28, 2012
I was giving a hand drawn wiring diagram (original.jpg) and it is a rats nest!!
I was asked to re-draw this and put it on our drawing template.
I have the plugs and terminal blocks drawn up and now I am about to attempt to add in the wires, but the sketch is so filled with dimension lines and values, it is going to be a task to try and make sure every line I draw is correct. This would be much easier to do if the dimensions could be turned off as the wires I am drawing will not be constrained.
I don't think there is layers options inside a sketch mode, or a if i start a new sketch I don't think I can project that sketch to the new one?
The only other options I can think of was to delete all dimensions and apply FIX constraint to everything! or
I guess I could have modeled the plugs and blocks in position and added them to the drawing, projected the geometry to a new sketch and added in my wires??
There must be someway to toggle the dimensions??
Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49
View 9 Replies
View Related
Feb 1, 2012
Is there an option in drawing mode to exclude certain parts from a section view.
According to ASME Y14.3 parts such as shafts, keys bolts and nuts should be excluded in sectional view. Its not just removing the Hatching, the part has to show completely.
The closest I found in Inventor is that you can exclude Standard parts from being sectioned. Some of my parts are not in the standard library.
I would like to have the option to choose which parts I want to section and which ones I don't.
View 9 Replies
View Related
May 24, 2012
In the continuing persuit to learn Inventor, of this selection in the drawing view editor?I have noticed one thing. When it is checked it turns off the visibility of parts within an assembly view.
View 9 Replies
View Related
Nov 29, 2013
I wonder is there is a quicker way to rotate your drawing in the models to organize them in the layout?
This isn't fast and convient at all to rotate your hole drawing to fit it in the landscape paper for example.
I know I've read something in the past about a new way of doing it, but can't remember.
View 3 Replies
View Related
Jun 7, 2006
Using Inventor 10, I have replaced several components of my assembly with new copies of the components to be modified into new parts. For some reason the model tree still shows the old part numbers, but editing the parts reveals that they are indeed the new parts. How to correct the part listing in the model tree?
View 9 Replies
View Related
Oct 17, 2011
I have installed Autodesk in a new computer but for some reason when I access to the program, "History tree" is not showed by default.
I have tried a lot selecting options in "tools" and "preferences" but I can't locate where the option for displaying "history tree" is located.
View 1 Replies
View Related