Pat Stanford Posted April 20, 2022 Share Posted April 20, 2022 I am trying to build a resource list of Renderworks Styles in a document. Does anyone know what the Object Type for a Renderworks Style is? Or point me in the right direction of any of the BuildResourceList options to get this information? Thanks. Quote Link to comment
Maarten DE Posted April 20, 2022 Share Posted April 20, 2022 This works for me... PROCEDURE ResListTextureStyles; VAR listID, numItems: LONGINT; BEGIN listID := BuildResourceList( 106, 0, '', numItems); Message(numItems); END; Run(ResListTextureStyles); Quote Link to comment
Maarten DE Posted April 20, 2022 Share Posted April 20, 2022 To get the Object Type, you could use the "Debug List View Ex..." command. Create the resource you want to get the type of and give it a name, and in "Debug List View Ex...", use "Find Object..." to search for its name, and in the list you can see the Object Type. 1 Quote Link to comment
Pat Stanford Posted April 20, 2022 Author Share Posted April 20, 2022 Thank you @Maarten DE. The 106 was the part I was off on. The list in the Vectorscript Function Reference says that Renderworks Styles are 166. I already have a bug in about the lists in the on-line Developer reference being different than the list in the downloaded XML version of the Function Reference. Hopefully they will get it fully correct when they fix that. I appreciate your help. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.