Clashing IDs

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/04/2012 at 02:41, xxxxxxxx wrote:

OK - I'm still new to this, don't laugh

My plugin GUI items start at 1000, 1001
which work fine

then I added
INCLUDE Osplineprimitive;
to my plugin res file
now changing some of my GUI items  - changes the included interface

so I changed my own gui enum ID  - that stopped the clash with the Osplineprimitive;

- now my interface items don't work

how do the enum IDs connect with your own interface items?

help!

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/04/2012 at 05:01, xxxxxxxx wrote:

First, in the Python SDK DoubleCircle's example (it also includes Osplineprimitive) the enum begins at 10000 (same in C++).

Originally posted by xxxxxxxx

so I changed my own gui enum ID  - that stopped the clash with the Osplineprimitive;

- now my interface items don't work

how do the enum IDs connect with your own interface items?

What's not working as expected in the interface ?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/04/2012 at 05:33, xxxxxxxx wrote:

Sorry Yannick - I open the PY file mentioned and it says

enum
{
	PYCIRCLEOBJECT_RAD		= 10000 // values 1000.3000 already reserved from includes
};
  
#endif

fromm that are we to guess that we can't use any IDs from 1000 to 3000 
IF we are going to use the INCLUDE res files in our plugins

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/04/2012 at 04:30, xxxxxxxx wrote:

Yes, that's true.
Those IDs are mostly used by the base attributes you automatically get when including something like "Obase" in your .res file.
If you start your IDs with greater values (like e.g. 10000) you will be on the safe side.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 21/04/2012 at 00:46, xxxxxxxx wrote:

thanks for confirmation

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 21/04/2012 at 01:51, xxxxxxxx wrote:

as a side note : obase stays below 1000, only if you include extra standard interfaces like 
ospline you have to make sure which ids above 1000 you are using.