Have adapted the code above to change the detail view borders. Many thanks again Cowski!
Could you share how the similar journal worked with section line labels.
I'm just stuck on combining this with my main journal that changes the other drafting objects.
I had a go at making sure there were no...
Managed to crack the updating of all views in my drawing with this:
' Update All Views
Try
theSession.Parts.Work.DraftingViews.UpdateViews(Drawings.DraftingViewCollection.ViewUpdateOption.All)
MsgBox("Updated All Views" , vbinformation + vbokonly, "Success")
Catch ex As...
Almost there with my journal.
Can anyone tell me what the collections are for Detail View Borders, Section Line Labels and View Direction Reference Arrows, had a good look round but cannot find them.
Also is there a way of selecting all views and updating as my section lines stay black until I...
Hi,
I'm trying to write a journal that will select dimensions on an existing drawing and change their color.
I have recorded a journal that does what I would like but it won't work for other drawings as I know that I need to include a loop to select dimensions in a non-sticky way.
Once working...
Hi Cowski,
That works perfectly. Only other thing that I had to do was set an environment variable for STEP214UG_DIR as it was returning an error.
Is it possible to expand the scope to export parts within an assembly, so a single step file with the top level and components underneath?
Regards...
Hi,
I'm trying to produce a journal that reads an NX attribute (SAP_CC_NAME) and then uses it as a filename for a STEP file export.
So far I've found and combined (probably not in the most efficient way - I'm new to this!) two journals, one for automated STEP export and another I've adapted to...