Layer States Command Line
Is there a way to use the command line to restore a layer state? The purpose it to create a custom toolbar that represents each layer state. Each button would contain the command. This is handy for me as I switch between 20 or so different layer states in rapid succession while designing.
If not, is there a quick pull-down or something like this? I noticed in older threads that "bonus.cui" is included with Version 8. However, it is NOT included with version 11.
Comments
-
I use a series of script files for that, listed in a pull down menu. The layers I often reset all begin with the same letters, so I can "'freeze BW*, PW* thaw DW*, PW*....". Where layers are associated with scales, I add a number to the end of the layers, as in "DW5-50" & "DW5-100". Now I can manipulate all the DW layers and all the 50/100 layers - "'freeze *-50 thaw *-100".
0 -
I am using more than 200 layers on both old and new plans, all with the same named layer states. To use a script with specific layer names would be monumentally time consuming to retrofit. I am surprised there is no command line reference to restore a layer state. Further, in an old thread for Version 8, it says there is a "bonus.cui" menu available that may address this. However, in Version 11, it is not provided. Is this available any more?
0 -
I guess I only have 70 layers and 10 different states, it was only not too cumbersome to set up scripts because of similarities in the names and states. I have the 10 'states' or script calls on a pull down menu.
A command line layerstate would be useful, then you could list them on a pull down making one click instead of two and bypass the Explorer, I assume they exist in each drawing or do you have to import them each time?
From a background long before Layerstates, I never could see a fast way to use them when they arrived.
0 -
Would a VBA macro holding something like:
Private Sub LayerStateManagerRestore(stateName as string )
Dim lstManger As AcadLayerStateManager
Set lstManger = ThisDrawing.Application.GetInterfaceObject("BricscadApp.AcadLayerStateManager")
Call lstManger.SetDatabase(ThisDrawing.database)
Call lstManger.Restore(stateName)
End Sub
be of any use?
Just pass the name of the state you want to restore...
Call the VBA macro from your pulldown menu.
Arno van Eeuwen
0 -
That script above is over my head. I tried it, but can't get it to work. Maybe because I just don't know the detail of executing it.
Let me put it this way: AutoCAD has a layer states restore command version: -la r "state name" ^C^C. I just put this in a button in a custom toolbar. It seems simple enough to do that in Bricscad.
Still no answer on "bonus.cui"?
0 -
My understanding of the bonus.cui is it was a part of the "bonus tools" in older releases that provided layer tools for on/off freeze/thaw isolate and states. Most if not all of this functionality is included as built-in commands. I believe the older bonus tools saved layer states to external text files and were quite fragile.
As you noted, the layer command does not appear to support layer states. If this is important to you I would send in a support request (even if you have not purchased yet) asking if layer state support is scheduled to be added to the layer command. I have found Bricsys support great and they arel generally able to provide an informative answer.
If you do send in the support request please post the answer for the rest...
0 -
I have requested support twice with no response.
0 -
Dear mister "A Person" from the company named "GUESS",
your request was read with interest, found valid, and we added it to our list of feature requests.
Please stop using fake names if you expect our analysts to reply.
0 -
Please pardon my right to privacy. If you think for a second that I am going to put a real name out here for the WORLD to see, you are sadly mistaken. Given that my e-mail is correct on your file and that it is a valid question, I am having trouble figuring out why you are giving me such a hard time...especially since the questions benefit the other people. I don't see how my actual name makes any difference whatsoever.
Tell you what. My name is John Smith or maybe Bob Johnson. Does that help?
0 -
I have to agree with "A Person". As long as his questions are well meant, honest and serious it really should not matter what name he carries - and as long as he keeps that same name when communicating with Bricsys or in the forum. Maybe he even comes from a strange country where people and companies have strange names. In this case anybody with an "I don't care about such names" attitude would rightly be called a racist. But even if it is fake, I can not see a problem, as I said, especially when the questions are useful.
0 -
In forums/newsgroups etc I understand the informality and possible need for anonymity, though I am not personally concerned in a relatively 'closed environment' such as this.
I guard my own identity in open forums, but those like this one usually have detection systems for spammers and hackers which might even reject an innocent person using a suspicious name.
However, in direct communication with a business entity (such as a support request) it may be necessary to use at least a serious sounding introduction - in my business, if I am asked to provide information, an estimate or other sort of service I would expect the caller to offer a little in good faith. I like to feel I put myself to the trouble for someone who doesn't sound like they have as much commitment as they are asking.
0 -
The Bricsys team (my good friends) have struggled for nearly a decade to redesign and rebuild Bricscad from the rather junky thing it was originally, into a fast, stable and very complete alternative to AutoCAD. A great wall of work still stands before them (Bricscad Pro for Linux, Bricscad for Mac, thousands of BRX functions, dot Net etc). Every day a new pile of support requests arrives and requires careful consideration, rejuggling of priorities. Assignment of tasks to the right developers. Deadlines. Endless careful hard work. This is not some faceless evil bureaucracy out to steal your stuff or hurt you. They are nice people trying to their job. Think about it in terms of priorities - if you had requests from clients with support agreements, clients who have paid money, prospective clients with real names, real companies with addresses and then some anonymous punk with an attitude, what would you do?
0 -
Don't everybody get all bent out of shape. When I signed on for a trial version, the webiste asked questions that, at the time, didn't seem relevant (like my real name). Also, as a habit, I do not put my real name into anything like this until I actually buy something. And even then, I take issue with the fact that my real name will appear in a forum and God knows where else.
I asked support questions of the sales people and they directed me here. Sorry my name is "A Person". But, lets face it. I am indeed A PERSON. I have a simple question that, frankly, is an item that is a make or break decision factor for actually buying the software.
In terms of my company being "GUESS", that's because the name of the company is in the e-mail address. So....guess. The address is valid and legitimate. It should be enough to answer a simple question.
Considering that the front end of the site brags about such great support, I am becoming wary. I am seeing more rants about my "name" than about a simple technical question. (All starting from an actual rep of the company I am considering buying something from.)
SO:
Let me ask the question one last time:
Is there a way to have a command line version to restore a layer state. Or perhaps a dropdown similar to the layer list with the layer states in it? If not, do you plan to? And if so, will it be an update or in a completely new version?
It's a simple question. It can be answered in one or two sentences. As I see someone from the company is watching this thread, I expect (or would rather) the answer to come from the company.
Again, I am only here as directed by the sales department. So give" a person" a break.
0 -
@ A Person : It is my observation that the Bricscad users who already have all the features they require to do their work are very protective of their product. This is also the same for me as I am very supportive of the Bricsys business model, which has considerable input from their user base. This is not to say that Bricscad has anywhere near the features of Autocad which is a much older product with considerably more years of development behind it. Having said that Bricscad continues to develop!
As Hans said, your task has been added to the list of feature requests. I expect this is all the information you will receive at this point and the timeframe will depend on code complexity and general user interest. I do agree that your suggestion would be a useful addition but not a deal breaker for me.
All I can suggest is that you use your trial to try and do some production work and if it doesn't meet your expectations then stick with autocad.
Also about the name "A Person" : why let it stress you? I personally thinks it's pretty funny. I understand both sides of the arguement but it isn't something to lose sleep over
0