11
XDRX-API / Re: [XDrX-PlugIn(165)] Use a hash table to quickly delete completely overlapping ent
« Last post by xdcad on May 24, 2024, 03:23:50 AM »Yes, since arx interprets the list, it’s not reliable to hash.
Example '(220 220 220 220)
Just tested it
'(220 220 220 220) This kind of data is illegal data. If it cannot be converted into resbuf, an error will be reported. This should be a BUG of AUTOCAD, and there are 221, 222, etc.
Command: (xdrx_entity_hashstring '(220 220 220 220))
error: LsAdsInvoke Internal Error
Command: (xdrx_entity_hashstring '(221 220 220 220))
error: LsAdsInvoke Internal Error
Command: (xdrx_entity_hashstring '(219 220 220 220))
"4355413184637992076"
Command: (xdrx_entity_hashstring '(218 220 220 220))
"6650467817808998717"
Command: (xdrx_entity_hashstring '(223 220 220 220))
error: LsAdsInvoke Internal Error
Command: (xdrx_entity_hashstring '(239 220 220 220))
error: LsAdsInvoke Internal Error
Command: (xdrx_entity_hashstring '(230 220 220 220))
error: LsAdsInvoke Internal Error
Command: (xdrx_entity_hashstring '(10 220 220 220))
"6350337662529562573"
Command: (xdrx_entity_hashstring '(215 220 220 220))
"13560894329457377856"
Code - C++: [Select]
- else if ((resType >= 210) && (resType <=239))
- {
- return(RT3DPOINT);
- }
Should be changed to:
Code - C++: [Select]
- else if ((resType >= 210) && (resType <=219))
- {
- return(RT3DPOINT);
- }