|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
||||
|
||||
All construction line on active part to be deleted command?
Hi.
I am wondering if there is any button or icon with which I can delete all construction lines of a part. I once had it, if I remember correctly. Now, I cannot find one. Do you know any of that sort? Thank you.
__________________
Toshi |
#2
|
||||
|
||||
Re: All construction line on active part to be deleted command?
create an icon by your own and fill it with the magic sequence:
Code:
DELETE C_LINES ALL C_CIRCLES ALL END !!! not tested !!! Try to enter the sequence word by word into the drafting's command line and watch the prompt and the view port. That's the normal way to figure out what have be done.
__________________
|
#3
|
||||
|
||||
Re: All construction line on active part to be deleted command?
Thank you.
It beeped. (Shrug). But the first half did good work for me. Quote:
__________________
Toshi |
#4
|
||||
|
||||
Re: All construction line on active part to be deleted command?
based on the fact that you don't have any c_circles.. yes.. then drafting is just 'noisy' where OSDM would have said 'nothing selected' which you have to confirm with a click.
If you sometimes also have c_circles.. then you have to adapt the command ( tip: TRAP_ERROR , to be found in the command ref of Drafting.
__________________
|
#5
|
|||
|
|||
Re: All construction line on active part to be deleted command?
Or, if you want to delete all construction geometry, you can use
Code:
delete c_geo all end andy
__________________
Andy Poulsen AI MAXTools: Dream. Design. Done. It's that easy! Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+! See them in action at www.ai-maxtools.com and then try them for yourself -- FREE! |
#6
|
||||
|
||||
Re: All construction line on active part to be deleted command?
Is there some sort of defacto all command list and usage for CoCreate out there?
A list like that would be greatly helpful.
__________________
Support Your Local Sheriff - At high noon Jason: "How much does it pay?" Citizen: "Well, none of our other sheriffs ever lived long enough to find out." Co-Create 2007 (15.50G) ANSYS Workbench 14 SolidWorks 2011 UGNX-7.5 / TeamCenter UA 8 PADS 2000 Applicon Bravo Autotrol CADAM Pro/E |
#7
|
||||
|
||||
Re: All construction line on active part to be deleted command?
Quote:
Code:
DELETE GLOBAL C_GEO ALL END
__________________
John Scheffel |
#8
|
||||
|
||||
Re: All construction line on active part to be deleted command?
The Programming Reference lists all the standard Drafting commands. You can open from inside Drafting by clicking Help>Program Ref Guide. This contains all the building blocks to create commands similar to those posted above but not any handy command strings.
__________________
John Scheffel |
#9
|
|||
|
|||
Re: All construction line on active part to be deleted command?
Like John, I find the Drafting help file to be quite useful for things like this. When you click the help menu or you can type "help '' " (that's the word help followed by two single quotes right next to each other), Drafting will open the help file in a web browser window.
Then you can just select the command you want to find more about (you can use the letters at the top of the screen to quickly jump to various sections of the index). Then you can try the various things listed in the help file directly in the command-line of Drafting to see how they work. Some folks have said they didn't like using the help files because they were hard to understand. However, they're really not that bad... For example, if you look at "Delete" command, you see something like this: (it might vary slightly depending on the version of Drafting) Code:
,<-----(M_UNDO)-------, | | |<--------------------| v | -->(DELETE)--+--+------|select|-------+--+--> | ^ '--->(ALL)-->(CONFIRM)------' Code:
-->+------------>+-->+------------------------+->+--->|pt on vertex|------->+---> | ^ | ^ | ^ +->(GLOBAL)-->+ |-->(POINTS)------------>| |->(ELEM)-+ | | ^ |-->(LINES)------------->| | v | `->(SUBTREE)->' |-->(ARCS)-------------->| |-------->+->|pt on elem|->| |-->(FILLETS)----------->| | | |-->(CIRCLES)----------->| |-->|pts of box|---------->| |-->(TEXTS)------------->| | | |-->(SPLINES)----------->| |-->(ALL)----------------->| |-->(BSPLINES)---------->| | | |-->(C_LINES)----------->| |-->(VERTEX)->|pt|-------->| |-->(C_CIRCLES)--------->| | | |-->(PARTS)------------->| |-->(BOX)->|pts of box|--->| |-->(LEADER_LINES)------>| | | |-->(HATCHING)---------->| |-->(INFOS)--|string|----->| |-->(DIMENSIONS)-------->| | | |-->(GEO)--------------->| |-->|part name|----------->| |-->(C_GEO)------------->| | | |-->(POLYELEMENTS)------>| |-->|pixmap name|--------->| |-->(CENTERLINES)------->| | | |-->(SYMLINES)---------->| |-->|OLE name|------------>| |-->(REFLINES)---------->| | | |-->(EDITED_DIMENSIONS)->| |-->(FONT)--|fontname|---->| |-->(PRPS)-------------->| | | |-->(PIXMAPS)----------->| |-->(PRE_SELECTED)-------->| `-->(OLES)-------------->' | | |-->{1}------------------->| | | `-->{2}------------------->' I hope this example helps to show that the help file is your friend! Admittedly, it can seem a bit intimidating, but it's really not that bad, and can be quite useful... So, as John said, the building blocks are all there, and you can use them to build your own custom commands (such as the two we've seen here to delete construction elements both in just the current part and globally). I hope this helps! andy
__________________
Andy Poulsen AI MAXTools: Dream. Design. Done. It's that easy! Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+! See them in action at www.ai-maxtools.com and then try them for yourself -- FREE! |
#10
|
||||
|
||||
Re: All construction line on active part to be deleted command?
Thank you Andy! Oh, also, John. I made two of them so I can show up myself. I am not sure if I can play with the macro. I cannot even create any lisp command for Modeling either. So.... I stick to forum's nice people's helps. Thanks a ton.
__________________
Toshi |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|