Jump to content
Developer Wiki and Function Reference Links ×

BuildResourceList


Recommended Posts

If you are looking for Wall Styles that are in the resource browser of the current file take a look at

LongInt1:=BuildResourceList(127,0,'',LongInt2);

LongInt1 will be the Id Number of the resource list. 127 is the identifier for Wall Styles. (not in the manual. Determined by brute force).

After you have built the resource list, you can get use GetNameFromResourceList to get the names or GetResourceFromList to get a handle.

If you are trying to find the wall styles actually in use in the document, you have two options:

1. Build an array of the wall style of every wall, and then loop through that to throw away the duplicates.

2. Purge Unused Objects first to eliminate the exta wall styles and then use the Build ResourceList as above.

It would be helpful for you to provide a little more detail on what you are actually trying to do when you post these requests for help. Very open ended queries like this are often ignored because no one understand exactly what the question is, so we don't always know how to answer. Tell us what you really are trying to do and you will often get more potential options.

Pat

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...