#1
|
|||
|
|||
How can I use (INQ 39) element unique ID
According to the helpfiles I can retrieve an elements unique ID with INQ_ELEM => INQ 39.
I have tried to use it but I can't get it to work. I would think that this might work: INQ_ELEM P1 DELETE (INQ 39) But it doesn't. What can I do with it? Does anybody have an idea? |
#2
|
||||
|
||||
Re: How can I use (INQ 39) element unique ID
Interesting question. I thought there must be some way to select an element using the unique ID but after 20 minutes of looking I couldn't find a way.
If P1 represents the point used to select the element the following might work. You need to replace VPn by the viewport number, usually 1. DELETE SELECT GLOBAL ELEM PICK_VP_PNT VPn P1 CONFIRM END
__________________
John Scheffel |
#3
|
|||
|
|||
Re: How can I use (INQ 39) element unique ID
Thanks for your reply John.
However, I was especially interested in the use of INQ 39. At this moment I use the following: INQ_ELEM P1 DELETE POINTER (INQ 2) This works fine but in a trace file, directly after POINTER (INQ 2), I read: WARNING - following number token is a valid elem2d pointer. This is unsafe on Win64. 27306704 Since we will probably move on to 64 bit computers in the future, I thought I'd better use a safe routine in my macros from now on. This is the main reason why I am interested in INQ 39, a unique element ID. |
#4
|
||||
|
||||
Re: How can I use (INQ 39) element unique ID
Hi Peter,
looks like you are using Release 16.00 already. Right? As usual version in use is quite important information! Looking to the not protected macros of Annotation module you should use INQ 332. The old INQ 2 returns a number, while the new INQ 332 returns a string. The number of pointers on a 64bit system would have exceeded the capabilities of the macro language. INQ39 is a really strange thing. I also can not figure out what to do with that value. Rather mystic
__________________
|
#5
|
|||
|
|||
Re: How can I use (INQ 39) element unique ID
Hi Wolfgang,
I'm indeed using version 16.00. Should have mentioned that. Anyway, I'm still puzzled on how to use (INQ 332) If I use Code:
DELETE POINTER (VAL (INQ 332)) Code:
DELETE POINTER (INQ 2) Can you please give me an example. Best regards, Peter Boks |
#6
|
||||
|
||||
Re: How can I use (INQ 39) element unique ID
Code:
DELETE POINTER (INQ 332)
__________________
|
#7
|
|||
|
|||
Re: How can I use (INQ 39) element unique ID
OK, now it's working.
Thanks Wolfgang |
#8
|
||||
|
||||
Re: How can I use (INQ 39) element unique ID
Hello
is anyone here who can tell me in which version of me10 the function POINTER (INQ 2) was installed? |
#9
|
|||
|
|||
Re: How can I use (INQ 39) element unique ID
POINTER is an undocumented keyword.
It was never officially released. |
#10
|
||||
|
||||
Re: How can I use (INQ 39) element unique ID
Hello Peter,
I know that. 've Tried to write a macro for a colleague but that does not work because in v8.7 the command POINTER (INQ 2) is not yet available. Now i want to know from which version on this command belongs to me10. In v13 he is present but the other versions between v8.7 and v13 i can not test myself. I hope that someone has the older versions in use and performs the test for me. The test is simple. Draw some lines, commandline INQ_SELECTET_ELEM ALL enter. Then commandline DELETE POINTER (INQ 2) enter. If one of the lines is deleted the command works. If anyone can help, thanks in advance |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|