Hello Gents!
I'm trying to write a macro to reset graphic properties as mentioned in this thread: thread560-210881
Actually, macro posted by Ferdo works almost perfect... Also, because it doesn't reset edges' color in my bodies. How can I modify it to get what I want, which is: reset all edges...
Hi Everyone!
I was wondering if there exists already the code for automatic fillet generation on first pad under specific body...
I'm working a lot with "structurized" parts (with the use of assembly feature) where first body is semi-finished product :) then all the milling and drilling is...
Hi lardman363
Thank you for your reply. However I do not follow you....[ponder] Didn't we (actually - you :)) set ActiveDocu like you suggested already earlier?
'Loop fuer Geosets copy und paste / Loop for copy/paste
For i=0 to iSelectedParts - 1 'CHANGED PartSet.Count
Set ActiveDocu =...
I get one step further, but now I have the same problem with line 53 :(
For i=0 to iSelectedParts - 1 'CHANGED PartSet.Count
Set ActiveDocu = aParts 'CHANGED PartSet.Item(i)
Set ActivePart = ActiveDocu.Part
Apparently problem lies in ActiveDocu - shouldn't that be collection of parts already?
Hi
It's clear that you can't use this surface and this direction :) Part of that surface is locally parallel to the direction, which you chose. I think it is part of the surface parallel to V-direction of the compass. you can try different direction for the pocket extrusion or you can try to...
Hi Alex
Thanks for your tip. Well, I goes one step forward:
Sorry - for Polish language - It's my homeland language :) it says:
Object does not support this property or method
Any idea what could cause that?
Regards
Lucas
If that helps, you could group those components with "insert component" function: this will allow you to hide sets of parts, without creating new physical file.
If you are trying to hide them on some viewports and on others not - then you have to use scenes for that
I usually means, that your surface is locally parallel to your pocket pulling direction. Instead of this approach you could create simple sketch "above" your surface and use it as pocket profile and drag it "until surface" method up to your desired surface. It's hard to advice, when we can't see...
Hi
As jackk said. Try to put desired feature into new body (rightclick on i.e. pocket, pad, hole etc. and insert in new...) Then you can set hidden lines only for this body.
Sorry to re-post
Last pic&file had little mistake (surface under GeoSet BLECH4 was not renamed). This is the right one.
http://i57.tinypic.com/mt9u1i.jpg[/IMG]]http://s000.tinyupload.com/?file_id=09478580017495496516
Here's screenshot of tree structure of the resulting part + CATPart.
One important update: Every GeoSet named Part_Geometry has a surface which should be named exactly the same way as Part_Name - the name of the part from where set came.
http://i57.tinypic.com/doa2zd.jpg[/IMG]]...
Hi Lardman363
"1. Find all the geosets in the assembly named Part_geometry and RPS_elements
2. Copy the geosets
3. Paste the geosets into another part called Main
4. Rename Part_geometry geoset with the name of the part it came from"
That's what I want ;-)
It's VB script language. Main...
That's almost what I need. Except one thing. Only GS named "part_geometry" must be renamed with name of the part from it came. part I will post resulting part on Monday. Have a nice weekend!
Lucas