Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by wezelboy

  1. does your script actually create the text? if so you can use the TextSize(x); to set the text.

    The text is created by the Door or Window PIO using whatever text attributes are attached to the PIO.

    I'm really surprised that there are not any functions that cover this.

  2. Basically, I'm trying to set the text size attribute of door or window PIOs so that the text of the label is a certain size. It would be the equivalent of selecting a PIO and the choosing a font size from the text menu, except that I am going through all of the PIOs.

    I always thought that font and font size were attributes like pen size or line weight that could be applied to each object, but I can't find anything in VS to access or set these particular attributes. One possibility is from the Get/SetObjectVariable series, but I cannot find an appropriate selector for the font size attribute in the documentation.

  3. Ok, how do I edit the finish locations? I mean the default categories such as "wall, floor, ceiliing, etc"

    When the default PIO Parameters aren't doing it for us, I create a record with the additional fields, name it "(PIO Name)Extended", and add relevant columns to the schedule.

  4. The point is wezelboy, a good many people don't *want* to know about this stuff. They've got enough on their plate as it is. Many people just want to use their machines to get stuff done, not learn how it does it.

    I'm aware of that point. I enjoy the relative ease of use of OSX just as much as the next person. However, the point I was trying to make is that ALL operating systems and the networks they connect to are inherently complex, and while most popular operating systems do a pretty good job of hiding most of that complexity, there is a point where some user knowledge is required.

    And maybe I was a bit harsh with the "obtain IP address automatically" comment, but if you don't understand some basic computer and networking concepts and you are setting up your own network and computer, there is a decent chance you are going to get burned somehow- especially if you are running Windows. (Although you can get burned running OSX or Linux as well)

    I just thought of a little sob story that relates to this...

    My father has terminal cancer and has nearly reached the end of his treatment options. He has had to move to Seattle for 5 months to participate in an experimental stem cell transplant study. He packed up his computer with the intention of handling his affairs (bill paying, communication, etc.) online. He got an apartment in a building that specializes in short term housing for cancer patients. This building provides each room with an ethernet jack that shares a common internet connection. One of the other residents in the building managed to get hacked somehow, and their machine was being used maliciously (I'm not sure of the exact nature of the problem-probably a botnet of some kind). The ISP detects malicious packets coming from the building IP and does what they should do- block the IP. Unfortunately, that cuts off the whole building, and now my father has no way to pay his bills or send e-mail. Sure, he was able to scramble and take care of a lot of this on the phone, but he has cancer and is getting poked and prodded all day every day, the last thing he needs is to worry about how he is going to pay his bills.

    In this particular case, the person who allowed themselves to be hacked probably doesn't have a clue about what is going on. I personally would prefer it if they weren't allowed to use a computer at all. Clueless newbs can effect other people through their lack of knowledge.

  5. I think Jeffrey's method would be easier actually. It would also be better if you needed to change the worksheet format after the fact.

    If you still want me to elaborate, just let me know what part you are stuck on, and I'll give it a shot.

  6. You can use the eyedropper tool.

    Place your new door somewhere on the drawing. Select the eydropper tool, and click on the eyedropper prefs and check "Plug-in parameters". Then "pickup" the prefs from the new door, then drop them on the door you have in the wall.

    I think have a script that does something like this for multiple objects, but I'm not sure if it is working right now. I haven't used it in a while.

  7. Your sarcasm is entirely misplaced, Petri. All operating systems have "gigabits" and "kernels". Even OSX has a "BSD". You should check it out sometime. There's this thing called "rm" that I'm sure you would enjoy ;-)

    If it makes you happy, Walt Mossberg has weighed in on this. Talk about impeccable timing...

    Mossberg on Ubuntu

  8. Secondly, the Red Hat, Debian, Suse, or Ubuntu distros DO NOT include a Broadcom gigabit driver; those distros install the Windows driver and ndiswrapper. Unfortunately, that combination works with only a limited number of Broadcom chipset/mobo combinations; if you don't have one of those combinations, you're SOL.

    nidswrapper is for wireless network devices. I was talking about the Broadcom GIGABIT driver which has had Linux kernel support since at least 2.4.

  9. When a schedule gets too big for a sheet, I usually duplicate it and then edit the database criteria (by right-clicking on the database header row) to narrow the range of the database- usually by layer. Narrowing it by room number is a possibility also. Sometimes you have to edit the criteria manually though.

    Word of caution: pretty much anytime you mess with the database criteria in a worksheet, you have to redo the sorting.

  10. I'm calling BS on both assertions.

    First of all, the Broadcom gigabit driver is installed by default by XP. If you can't wrap your head around clicking the "install" button, then you probably should not be using a computer in the first place.

    Who knows? Maybe it's the Home Edition I was working with, or my mobo. All I know is that it definitely was not flawless. If I didn't know how to get the right driver and click "install" I'd have a doorstop.

  11. I did a Windows XP install last saturday on a machine I built from scratch (sos I can try emachineshop, maybe play some games). It was not painless. It actually sucked, and would have been a showstopper if I were a "grandmother". Who knew that Windows XP doesn't support the Broadcom gigabit chipset (which has to be one of the most common chipsets around) out of the box? Linux installs on this box flawlessly.

  12. Does anyone have an example of a PIO they created that they could share the script/process with me?

    I've started reading through the VS manual, but feel like some actual examples are going to be needed to get to the next step.

    thank you

    Here is an example of a script for a path based PIO (most of the data is maintained as an editable polyline) The PIO has 3 text parameters- FirstLabel, PIOType, and Prefix that were created in the PIO editor.

    Because it is a path based PIO, creation is like creating a polygon. In practice, you place vertices over your doors, windows, or rooms in the order you would like them labelled, enter the starting number, the PIO type you are labeling (Door, Window, etc.), and any prefix you want. The labeler will then label them. If you forget one, you use the polyline edit tool to add a vertex where you want it. You can use this labeler with any object as long as it has an IDLabel field (the record is irrelavent) attached to it. It is more of a meta PIO and isn't actually doing much drawing.

    Note: This script uses library files that I haven't included, so it won't actually run. If you really want them I can supply them.

  • Create New...