C# program integration in graphic primitives PG2
Dear Ordoban,
I've been using your guide on creating graphic primitives for proces graphics 2.
I am trying to use your example to make it work. I had to update the references, update the target framework to version 4.5 (that's the version of the ABB references). I have a 800xA version 6.0.
In visual studio the whole program is 100% correct. and copying the DLL file and bypassing the validation all works.
But it doesn't appear anywhere in the graphic editor.
Looking into the code of the example given, my best guess is that the 'PrimitiveItemAttribute' is responsible for actually adding the item into the 800xA system.
PrimitiveItemAttribute("{F2280FE4-4DFF-4c77-92E9-2AB593C4ED07}", "ABB:FirstElement", "FirstElement", "Tutorial Elements", "My first graphic primitive")
I don't know if something changed in 800xA which makes this option useless?
Are you still able to create graphic primitives for proces graphics?
Kind regards,
Nick
I've been using your guide on creating graphic primitives for proces graphics 2.
I am trying to use your example to make it work. I had to update the references, update the target framework to version 4.5 (that's the version of the ABB references). I have a 800xA version 6.0.
In visual studio the whole program is 100% correct. and copying the DLL file and bypassing the validation all works.
But it doesn't appear anywhere in the graphic editor.
Looking into the code of the example given, my best guess is that the 'PrimitiveItemAttribute' is responsible for actually adding the item into the 800xA system.
PrimitiveItemAttribute("{F2280FE4-4DFF-4c77-92E9-2AB593C4ED07}", "ABB:FirstElement", "FirstElement", "Tutorial Elements", "My first graphic primitive")
I don't know if something changed in 800xA which makes this option useless?
Are you still able to create graphic primitives for proces graphics?
Kind regards,
Nick
Answers
Hi,
The included signature key is from 5.1, and in 6.0 the signature key has changed. There are also some small interface changes, but if you say the build is gone well, the don't affect the tutorial example. So you have to extract the new signature key (of coarse only the public part...) from a existing 800xA 6.x graphic primitive and replace the key in the example code. If I remember right, I have described how to do this.
Maybe I should update the tutorial...
Greetings
Stefan
The included signature key is from 5.1, and in 6.0 the signature key has changed. There are also some small interface changes, but if you say the build is gone well, the don't affect the tutorial example. So you have to extract the new signature key (of coarse only the public part...) from a existing 800xA 6.x graphic primitive and replace the key in the example code. If I remember right, I have described how to do this.
Maybe I should update the tutorial...
Greetings
Stefan
Add new comment