Dieter @ DWorks Posted August 26, 2007 Share Posted August 26, 2007 How can you build a list of wall styles??? I tried the numbers 68 and 113 (ref walls). This does not work. And in the appendix are no numbers for wall styles. Quote Link to comment
Dieter @ DWorks Posted August 29, 2007 Author Share Posted August 29, 2007 Anyone? I really need this thing! Quote Link to comment
Pat Stanford Posted August 30, 2007 Share Posted August 30, 2007 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 Quote Link to comment
Dieter @ DWorks Posted August 30, 2007 Author Share Posted August 30, 2007 I now how to build a list and I now how to put it in to a pulldownthing on a dialog. And only couldn't find the number to search for the wall styles. I thought that the question was clear. thx for the info. Maybe this should be listed to add to the appendix? 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.