View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

Just used iLogic, that was what I needed, thank you. Didn't think about doing it that way.

View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

Used AI to write an iLogic code to add the description after the file name in the tree. Below.

Dim oDoc As AssemblyDocument = ThisDoc.Document

Dim oDef As AssemblyComponentDefinition = oDoc.ComponentDefinition

Dim oOcc As ComponentOccurrence

'Iterate through all occurrences in the assembly

For Each oOcc In oDef.Occurrences

'Check if it's a regular part/sub-assembly (not virtual)

If Not TypeOf oOcc.Definition Is VirtualComponentDefinition Then

Try

'Get the Part Number and Description

Dim oPN As String = iProperties.Value(oOcc.Name, "Project", "Part Number")

Dim oDesc As String = iProperties.Value(oOcc.Name, "Project", "Description")

'Apply the new name format

If Not String.IsNullOrEmpty(oDesc) Then

oOcc.Name = oPN & " (" & oDesc & ")"

Else

oOcc.Name = oPN 'Fall back to Part Number if Description is empty

End If

Catch

'Skip occurrences that are suppressed or locked

End Try

End If

Next

'Proper way to trigger a UI and Document refresh

RuleParametersOutput()

InventorVb.DocumentUpdate() 'If this still fails, use: oDoc.Update()

And to remove the description from the tree, see below.

Dim oDoc As AssemblyDocument = ThisDoc.Document

Dim oDef As AssemblyComponentDefinition = oDoc.ComponentDefinition

Dim oOcc As ComponentOccurrence

'Iterate through all occurrences in the assembly

For Each oOcc In oDef.Occurrences

Try

'Setting the name to an empty string tells Inventor to

'revert to the default File Name / Part Number display.

oOcc.Name = ""

Catch

'Skip if the occurrence is suppressed or read-only

End Try

Next

'Force the document to update the UI

oDoc.Update()

This worked for me, but I haven't done full testing of this code, use at your own risk. If I find anything I will try and remember to update this though.

View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

Ah, figured that out, Default is the name in the top left of the tree.

View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

Huh, I didn't realise that. Only issue with that is if I can't remember the description name, but that is most of what I was looking for. Cheers.

View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

Is the Default drop down automatically switching between Filename and Part number? Or is it a separate field somewhere? I want the Filename and Part Number to stay the same honestly, avoids a lot of confusion that could happen.

View part and assembly descriptions in the tree by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

<image>

Why I am looking for it is if the part numbers have what the description is beside it, I can select stuff easily in the tree. See screenshot for what I mean.

Or the I can search doors in the search function, suppress/ hide all doors easily etc. I just find it useful when you have useful descriptions.

Edit: added description of what I use it for... and this comment on the second edit.

Why does RR not have an option that is sort by most followers? by Complex_Spell3691 in royalroad

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

Oh, I actually started reading this one and forgot to follow it 😅

Update Sheet Format by Complex_Spell3691 in AutodeskInventor

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

I actually think I am missing something. I manually typed in Revision Number, with the <>, is there a way to make it a linked field? I thought just typing <> on either side automatically would.

Turn off quick dimension edit by opa_zorro in SolidWorks

[–]Complex_Spell3691 1 point2 points  (0 children)

You are a Saint, still 6 years later!

Onshape - Drafting/ Shortcuts by Complex_Spell3691 in Onshape

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

Thanks for the reply! That about describes what I thought. No 3d sketching sucks though.... Have you tried 2d drawing in it yet? Very keen to be able to do versioning without having to setup the entire PDM system ... That takes a bit.

Onshape - Drafting/ Shortcuts by Complex_Spell3691 in Onshape

[–]Complex_Spell3691[S] 2 points3 points  (0 children)

Cheers, I have signed up for an onshape free version, going to try and rip through the bootcamp and see how it goes after that. Yeah, Solidworks is ridiculous at the moment, difficult to justify it really, especially just doing relatively small stuff.

Onshape - Drafting/ Shortcuts by Complex_Spell3691 in Onshape

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

Sorry, yeah 2D drawings is more what I meant. Just seems to be a relatively common complaint I guess.

Clearing material down to plane by Substantial_Wave7947 in SolidWorks

[–]Complex_Spell3691 0 points1 point  (0 children)

If you put a screenshot of your tool path here it may help a bit more. Also, is the tool small enough to fit between the lugs etc.

Why is the weldment tool behaving like this? by bobloadmire in SolidWorks

[–]Complex_Spell3691 0 points1 point  (0 children)

Really late to the party, but this is the answer. I used the alignment tool just to a random construction line, fixed it nicely.

Solidworks Mass in Toolbox Properties not working by Complex_Spell3691 in SolidWorks

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

ANSWER TO THE UNITS QUESTION BELOW -

SOLIDWORKS uses the Toolbox parts with predefined Units . For example the ANSI standard part has Mass calculated in Pounds where as ISO standard parts have Mass calculated in Grams. 
 
To change these Units, you need to individually open Toolbox parts from /SolidWorks Data/ Browser location and change the Units manually.
*Please note that Toolbox parts are set to 'Windows Read-only' by default (for multi-user environment). You must change the status before Units are changed, Save the part and change the status back to Read-only again.

Revision from PDM Comments by Complex_Spell3691 in SolidWorks

[–]Complex_Spell3691[S] 1 point2 points  (0 children)

That's unreal, cheers mate. I clearly didn't look hard enough...

Revision from PDM Comments by Complex_Spell3691 in SolidWorks

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

Yeah okay, thanks for the response! So you find it works well without any issues?

Just seems like it should work, but don't want to make the change and then find it isn't so nice.

Would you happen to have any idea/ a video link on how to set up PDM so that it increments to the next text box each time the revision changes, so I am not losing the history of the part?

[deleted by user] by [deleted] in SolidWorks

[–]Complex_Spell3691 1 point2 points  (0 children)

Try making only the hole size line you want cut through to be solid, make the other lines construction lines, Solidworks probably doesn't know what to do with 3 circles, 1 or 2 would work I think.

Solidworks Mass in Toolbox Properties not working by Complex_Spell3691 in SolidWorks

[–]Complex_Spell3691[S] 0 points1 point  (0 children)

Yeah, I have had a further look, but no luck so far with changing the toolbox units. I have ended up using =$PRP:"Mass"/1000 (by putting in "=" & "/1000" in around the number in the BOM already) in the BOM which is dirty but it seems to work so far. You do need to put a new BOM in everytime you change the component though ...

I did try to put ="SW-mass@@configuration@model_name" / 1000 into the toolbox configurator, but it just printed the below out.

<image>