Can an API Add-on control the attribute manager?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-10
05:18 PM
- last edited on
2022-12-13
10:28 PM
by
Daniel Kassai
2005-01-10
05:18 PM
Does the API give the ability to control the attribute manager?
I'm thinking specifically of a quick change of pen settings.
Is such a thing possible?
Thanks,
I'm thinking specifically of a quick change of pen settings.
Is such a thing possible?
Thanks,
Labels:
- Labels:
-
Add-On (C++)
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-11 12:28 AM
2005-01-11
12:28 AM
James wrote:Hi James,
Does the API give the ability to control the attribute manager?
I'm thinking specifically of a quick change of pen settings.
Is such a thing possible?
Thanks,
AFAIK, we do not have documentation that tells us if and how we can interact with of the standard add-ons. (Attribute Manager is an add-on in the Standard folder.) The API defines methods that permit add-ons to communicate with one another, and it is possible that the GS-written add-ons permit external requests, but GS hasn't told us about it if so.
Now, if you just want to change pen settings, that's another quesiton.
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-12 07:13 PM
2005-01-12
07:13 PM
Karl wrote:Hi Karl & James,
AFAIK, we do not have documentation that tells us if and how we can interact with of the standard add-ons. (Attribute Manager is an add-on in the Standard folder.) The API defines methods that permit add-ons to communicate with one another, and it is possible that the GS-written add-ons permit external requests, but GS hasn't told us about it if so.
Karl
The Attribute Manager and most of GS's add-ons don't have such an interface; that functionality is mainly implemented in I/O type add-ons. In fact inter-add-on communication was mainly developed for the Publisher (back in the 7.0 days when the Publisher was an add-on), and it was not widely implemented afterwards.
To modify the pens, the easiest way is to use the ACAPI_Attribute_Modify call. You can also put together a nice UI if you want, with the standard AC pen selector popup. The popup can also contain a custom set of colors, but it's a bit more work...
HTH,
Akos

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-12 07:30 PM
2005-01-12
07:30 PM
Akos
in such a situation, would you be limited to non-Teamwork projects?
Or can ACAPI_Attribute_Modify override Teamwork permission rules, and allow a Team Member to edit the project attributes for their current session only?
in such a situation, would you be limited to non-Teamwork projects?
Or can ACAPI_Attribute_Modify override Teamwork permission rules, and allow a Team Member to edit the project attributes for their current session only?
Tom Waltz
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-17 11:09 AM
2005-01-17
11:09 AM
Tom,
HTH,
Akos
TomWaltz wrote:ACAPI_Attribute_Modify honors the TeamWork project state. The API behaves similarly to the UI.
in such a situation, would you be limited to non-Teamwork projects?
Or can ACAPI_Attribute_Modify override Teamwork permission rules, and allow a Team Member to edit the project attributes for their current session only?
HTH,
Akos