#1
|
|||
|
|||
Problem with delete_elem_info
Hi Boys,
i have added new info with this command: ADD_ELEM_INFO 'idBusinessData:100' SELECT GLOBAL ALL CONFIRM END and is ok. But for remove this i try with DELETE_ELEM_INFO INFO_NAMESPACE 'Default' 'idBusinessData:100' SELECT GLOBAL ALL CONFIRM END DELETE_ELEM_INFO but not work Is possible retreive me the syntax example of command ? |
#2
|
|||
|
|||
Re: Problem with delete_elem_info
Hi,
There are at least two different ways to remove INFOs from elements. The DELETE_ELEM_INFO command deletes *ALL* of the INFO strings from the selected elements (which may or may not be a problem). If you only want to remove the "idBusinessData:100" INFO string, you should use the CHANGE_ELEM_INFO command. Also, you only need the INFO_NAMESPACE option to delete if you used it when creating the INFO string. So, if you wanted to delete all of the INFO strings for elements that had an INFO string of "idBusinessData:100" you could use the following command: Code:
DELETE_ELEM_INFO SELECT GLOBAL INFOS 'idBusinessData:100' CONFIRM END Code:
CHANGE_ELEM_INFO 'idBusinessData:100' '' SELECT GLOBAL INFOS ALL CONFIRM END 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! Last edited by Andy Poulsen; 01-07-2017 at 09:21 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|