I started work at another place, while still having not left the last place. How does that work? Well the first place did not have enough work to keep me busy and the other place wanted a tiny platform drawn. Two days should have been more than enough. I brought my two year old computer with me and hooked it up to the printer server.
From here on , glue seemed to enter it's innards. The keeper of the server muttered things like: "free anti-virus no good, get external hard drive, don't do OS updates, don't involve yourself in any OS after Windows 2000". Needless to say the platform was no where near finished.
After two days of glue I decided to take to my computer on the Saturday and give it a good thrashing. In other words a C: drive reformat and reinstall of Vista, followed by reinstalling R2010 Autocad.
I arrived at 11.00am and left at 6pm. A day wasted and yet not wasted.
The first time waster was installing a new copy of Nortons: All it found after about 900,000 files, was a tracking cookie. Not that I would not do this again as I suspected a virus being the cause.
The second time waster was saving all the crap that I had collected onto my nice shiny new external hard drive. Funny how 60 MBits/sec looks just like 60MB/sec. It takes forever...
Ok now, lets see, (about 2pm now), how to reformat that hard drive? Just put the Vista disc in and do a restart?
Hmmm...that did not work. Half an hour later and after much hair removal, I happened to notice my motherboard documentation. Like the part that says "Press F2 while starting up to get your BIOS setup screen". Looks like the nice people who installed it originally, made the boot up order 1. Hard Drive, 2 CD Drive. Change this around and off we go.
Eventually, Vista is installed. In hind sight, this is where I should have decided to update the OS. As it happened, I decided to put the Autocad on, and at the same time I was doing that, I think the updates were being downloaded. This may have caused my problems when I installed the Autocad. It really struggled with .NET Framework, and after about an hour gave up and installed the other parts of Autocad.
Here is where I said to myself: "Ok it says .NET was not installed, but I'll try it anyway". It took about 2 minutes before it crashed. So this is where I downloaded .NET Framework from Microsoft and installed it as a separate item.
This appeared to work, and a much friskier Autocad appeared. Opening drawings still takes a little longer than it should, but this may be a network problem as the keeper of the network complained that he has had a lot of network errors, all only happening when I am attached....
At this stage I noticed the notice saying "Install your updates now". All 57 of them. Takes a while! (I had chosen the "install essential updates only")
I hope someone reading this can gain some ideas from the above if they find themselves in a similar situation.
Monday, August 10, 2009
Thursday, July 23, 2009
But wait....there's more!
Further to the cunning plan for a pdf-dwg partnership: This does not allow for the fact that quite often we make use of tabs in a drawing, which leads to the unfortunate case where we might have Layout 1 being issue B and Layout 2 could be issue C.
What then? Well, how about naming such drawings as 1234XB.dwg? The X would indicate that this is a multi-layout drawing and the B would mean that at least one of the layouts was issue B.
This still does not get around the problem of the pdf viewing person knowing if say Layout 1 was up to date or not. A possible solution could be a simple txt file kept in the same directory, named the same as the drawing, for instance 1234X.txt. In this file might be:
1234-01A
1234-02B
The program mentioned in the previous post might access this file and display these contents.
The hard part is, now we have loaded up the poor old draftsman with yet another piece of beaurocracy, the last thing he needs. I have seen somewhere a program (lisp/script) that does do updating of revisions-maybe this might be the method?
What then? Well, how about naming such drawings as 1234XB.dwg? The X would indicate that this is a multi-layout drawing and the B would mean that at least one of the layouts was issue B.
This still does not get around the problem of the pdf viewing person knowing if say Layout 1 was up to date or not. A possible solution could be a simple txt file kept in the same directory, named the same as the drawing, for instance 1234X.txt. In this file might be:
1234-01A
1234-02B
The program mentioned in the previous post might access this file and display these contents.
The hard part is, now we have loaded up the poor old draftsman with yet another piece of beaurocracy, the last thing he needs. I have seen somewhere a program (lisp/script) that does do updating of revisions-maybe this might be the method?
Wednesday, July 22, 2009
A search for an Autocad Viewer
Ah....Progress. Once upon a time our network enabled us to have access to our c: drives and if we asked our administrator nicely, he would install such goodies as the free Autodesk Viewer called True View. Due to whatever, this access was removed-probably it is safer that way! We are now administered from a different country.
New network whatsits were duly installed, and True View was removed (they said it clashed with the network...) and replaced with a different one. The replacement however, was obviously designed only for use with 2D drawings. Apparently, in some countries, 2D drawings are all the rage! So I guess it's my fault for doing all those 3D drawings.
Feeling a bit guilty, I have started a search for a drawing viewer that can view and print 3D Autocad drawings.
My first port of call was eDrawings, from SolidWorks. On first use, this appeared to do the job, but to get hidden views, you have to shade the viewport. On shading, the hiding appears not to be 100%, although I suppose if one were stuck it could be used. I have to say that in model space the shaded model works really well with my Quadro 1500 card. The only hitch with the 3D orbit being that it could do with an "Autocad Style" constrained orbit tool. Anybody listening at Solidworks?
One of my suggestions a year ago was to just have me print out the drawing as a PDF and store that on the network drive. After all, everyone has Adobe Reader, right? It was pointed out there is one serious flaw with this idea: How can anyone be sure that that this PDF is the latest issue? Which brought up the curly subject of issues.
Where I work, I am mostly the only draftsman, and most of the drawings are for internal use. So we have been relaxed about issues, just occasionally doing them, not really serving any purpose. The drawings that I know may get issued outside, get revisions.
There is an answer of sorts here: If the file is labelled say 1234B.dwg and the pdf is 1234B.pdf, then we can be reasonably sure that they are in sync. Maybe the answer is a small program that acts as a front end, so if say a person wants a particular file, they look it up using this program, which checks the filename of the pdf against the dwg filename, then shells out to a viewer such as Adobe or Foxit. By the way, Adobe/Foxit, if you are listening, how about checking how Autocad uses the mouse for zooming and panning?
One of the next viewers I tried, which will remain nameless, did not seem to run on Vista, so I could not try it out.
New network whatsits were duly installed, and True View was removed (they said it clashed with the network...) and replaced with a different one. The replacement however, was obviously designed only for use with 2D drawings. Apparently, in some countries, 2D drawings are all the rage! So I guess it's my fault for doing all those 3D drawings.
Feeling a bit guilty, I have started a search for a drawing viewer that can view and print 3D Autocad drawings.
My first port of call was eDrawings, from SolidWorks. On first use, this appeared to do the job, but to get hidden views, you have to shade the viewport. On shading, the hiding appears not to be 100%, although I suppose if one were stuck it could be used. I have to say that in model space the shaded model works really well with my Quadro 1500 card. The only hitch with the 3D orbit being that it could do with an "Autocad Style" constrained orbit tool. Anybody listening at Solidworks?
One of my suggestions a year ago was to just have me print out the drawing as a PDF and store that on the network drive. After all, everyone has Adobe Reader, right? It was pointed out there is one serious flaw with this idea: How can anyone be sure that that this PDF is the latest issue? Which brought up the curly subject of issues.
Where I work, I am mostly the only draftsman, and most of the drawings are for internal use. So we have been relaxed about issues, just occasionally doing them, not really serving any purpose. The drawings that I know may get issued outside, get revisions.
There is an answer of sorts here: If the file is labelled say 1234B.dwg and the pdf is 1234B.pdf, then we can be reasonably sure that they are in sync. Maybe the answer is a small program that acts as a front end, so if say a person wants a particular file, they look it up using this program, which checks the filename of the pdf against the dwg filename, then shells out to a viewer such as Adobe or Foxit. By the way, Adobe/Foxit, if you are listening, how about checking how Autocad uses the mouse for zooming and panning?
One of the next viewers I tried, which will remain nameless, did not seem to run on Vista, so I could not try it out.
Saturday, July 11, 2009
Two screens or not two screens?
My new work computer came with one screen, a 22" widescreen. Initially, I thought, let's not be too precious here....I can work on one screen just like all the other draftees I know.
The answer was, yes, you can, but what a pain! What I really missed was the properties pallete, and the tool palletes. When I first looked at the back of the little HP, I could only see a vga port, indicating to me that this would only take one screen.
One of my fellow workers then pointed out that there was another outlet and that you could indeed have two screens. The other port looked just like a USB, but apparently is a special HP thing for having another screen. It needed a special adaptor to connect to my 20" Philips LCD, but apart from that I was soon up and running. My old computer looks a bit minimalist now, with just a 17" screen.
At this point I realised how faded the old monitor had become-or was it always like that?!
I have turned brightness to 100% and upped the contrast, so it is still usable.
The answer was, yes, you can, but what a pain! What I really missed was the properties pallete, and the tool palletes. When I first looked at the back of the little HP, I could only see a vga port, indicating to me that this would only take one screen.
One of my fellow workers then pointed out that there was another outlet and that you could indeed have two screens. The other port looked just like a USB, but apparently is a special HP thing for having another screen. It needed a special adaptor to connect to my 20" Philips LCD, but apart from that I was soon up and running. My old computer looks a bit minimalist now, with just a 17" screen.
At this point I realised how faded the old monitor had become-or was it always like that?!
I have turned brightness to 100% and upped the contrast, so it is still usable.
Friday, June 26, 2009
Them there pesky variables
I'm now working on another computer, and I have just realised how many things Autocad sets a certain way, which mostly I want to change.
For instance, VTENABLE. Hmm.....let me see...do I want pretty zooms or fast zooms? Set to 3 huh? Let's just chop that down to 0. That's better!
That is an example of a variable you can set once and it stays that way. There are others, which appear to be related to the drawing at hand, and for these I have a "blast 'em all" lisp that knocks them into the way I like them, at the same time sets all the layers that I use as standard.
I call this one Layset.lsp (It sets the layers!)- It does the extra task of creating variables for the layer names. You can see the variables, just at the top of the routine.
The plan here is that if you want to force something onto the "Medium" layer, then another lisp is used, mm.lsp and this makes use of the variable set up in Layset to change the item chosen to the preferred layer.
A full explanation of this system can be found on my website, http://www.bilroCAD.com
Notice it does not have to worry about what that layer might be called. The ; marks are ignored by Autocad, ie they are used for comments. Here it is:
;Program written by Bill Le Couteur
;Auckland NZ
;Rev 0 date 18/8/97
;This program sets up layers
;the idea is that layer names are set ONLY
;by this routine...and this routine is run every time you open a drawing
;so if as a contractor you change employers, YOU ONLY
;HAVE TO CHANGE THIS ROUTINE
(defun c:layset()
(setvar "CMDECHO" 0) ;just hides the display related to this routine
(setvar "HIDEPRECISION" 1);when plotting, if this is set to 0, sometimes cylinders are missing
;a vertical line
(setvar "facetratio" 1); improves the quality of meshes for cylinders etc
(setvar "dispsilh" 1);suppresses the mesh display of solids
(setvar "facetres" 7);improves the smoothness of shaded objects etc
(setq the_layer (getvar "clayer"))
(setq laycentre "cl")
(setq laydim "dim")
(setq layhid "hid")
(setq laymedium "MED")
(setq laylight "LGT")
(setq layheavy "HVY")
(setq layphantom "pha")
(setq laytext "text")
(command "viewres" "" 50)
(command "-layer" "m" laycentre "c" "6" laycentre "lt" "centerx2" laycentre
"m" laydim "c" "1" laydim
"m" layhid "c" "6" layhid "lt" "hiddenx2" layhid
"m" laymedium "c" "2" laymedium
"m" laylight "c" "7" laylight
"m" layheavy "c" "4" layheavy
"m" layphantom "c" "252" layphantom "lt" "phantomx2" layphantom
"m" laytext "c" "4" laytext
"s" the_layer "")
(setvar "blipmode" 0)
(setvar "ltscale" 4)
(command "regenall")
(setvar "CMDECHO" 1)
(princ)
)
For instance, VTENABLE. Hmm.....let me see...do I want pretty zooms or fast zooms? Set to 3 huh? Let's just chop that down to 0. That's better!
That is an example of a variable you can set once and it stays that way. There are others, which appear to be related to the drawing at hand, and for these I have a "blast 'em all" lisp that knocks them into the way I like them, at the same time sets all the layers that I use as standard.
I call this one Layset.lsp (It sets the layers!)- It does the extra task of creating variables for the layer names. You can see the variables, just at the top of the routine.
The plan here is that if you want to force something onto the "Medium" layer, then another lisp is used, mm.lsp and this makes use of the variable set up in Layset to change the item chosen to the preferred layer.
A full explanation of this system can be found on my website, http://www.bilroCAD.com
Notice it does not have to worry about what that layer might be called. The ; marks are ignored by Autocad, ie they are used for comments. Here it is:
;Program written by Bill Le Couteur
;Auckland NZ
;Rev 0 date 18/8/97
;This program sets up layers
;the idea is that layer names are set ONLY
;by this routine...and this routine is run every time you open a drawing
;so if as a contractor you change employers, YOU ONLY
;HAVE TO CHANGE THIS ROUTINE
(defun c:layset()
(setvar "CMDECHO" 0) ;just hides the display related to this routine
(setvar "HIDEPRECISION" 1);when plotting, if this is set to 0, sometimes cylinders are missing
;a vertical line
(setvar "facetratio" 1); improves the quality of meshes for cylinders etc
(setvar "dispsilh" 1);suppresses the mesh display of solids
(setvar "facetres" 7);improves the smoothness of shaded objects etc
(setq the_layer (getvar "clayer"))
(setq laycentre "cl")
(setq laydim "dim")
(setq layhid "hid")
(setq laymedium "MED")
(setq laylight "LGT")
(setq layheavy "HVY")
(setq layphantom "pha")
(setq laytext "text")
(command "viewres" "" 50)
(command "-layer" "m" laycentre "c" "6" laycentre "lt" "centerx2" laycentre
"m" laydim "c" "1" laydim
"m" layhid "c" "6" layhid "lt" "hiddenx2" layhid
"m" laymedium "c" "2" laymedium
"m" laylight "c" "7" laylight
"m" layheavy "c" "4" layheavy
"m" layphantom "c" "252" layphantom "lt" "phantomx2" layphantom
"m" laytext "c" "4" laytext
"s" the_layer "")
(setvar "blipmode" 0)
(setvar "ltscale" 4)
(command "regenall")
(setvar "CMDECHO" 1)
(princ)
)
Labels:
Autocad variables,
Layer setting,
vtenable
Friday, June 12, 2009
Computer Hardware
A while back I talked about specs for a new computer. Well, it arrived last Monday, bought by the place where I work. Specs, as far as I could tell, are 3 GHz, 2 MB ram, on board Intel graphics, 22" LCD monitor, running XP on a network. I assumed quite wrongly that my 2 year old computer, a core 2 duo at 2.66Ghz and an Nvidia Quadro 1500 ($NZ1000) would kick it's bum.
But no. It had near enough the same 3D performance, which I found after loading the same heavy drawing and running a side by side test. The test was not all that scientific, just shade the model and roll it around to see when it goes to wireframe. In general, I have found it a much snappier and nicer to use machine, apart from the lack of a second monitor.
I was peeved, since making all sorts of honking noises about on board graphics before it arrived. It may be part of my unlevel playing field is that I'm using Vista. Maybe I can downgrade to XP or the next windows?
But no. It had near enough the same 3D performance, which I found after loading the same heavy drawing and running a side by side test. The test was not all that scientific, just shade the model and roll it around to see when it goes to wireframe. In general, I have found it a much snappier and nicer to use machine, apart from the lack of a second monitor.
I was peeved, since making all sorts of honking noises about on board graphics before it arrived. It may be part of my unlevel playing field is that I'm using Vista. Maybe I can downgrade to XP or the next windows?
Monday, May 18, 2009
Electrical Drawings...grump grump....
How low do I go? Electrical drawings is how low. Still, it's all part of the work and it is only occasional. Just to add to the fun I decided we needed a super duper way to extract from an Excel spreadsheet the data needed to fill out a PLC card.
This was done by saving the file as a csv file, in other words a text file, but one where the columns have been replaced by commas.
Once this has been done, PLC.lsp is flung into action in the right drawing (ie a PLC card drawing with blank spaces). This inserts all the relevant blocks with all the right info at the correct positions.
It works, but one of the problems is that the description might be on 3 lines while the spreadsheet only supplies one cell. So an advanced version of this would need to parse the description string, analyse how many words it had and split it up accordingly.
Maybe next weekend.....
This was done by saving the file as a csv file, in other words a text file, but one where the columns have been replaced by commas.
Once this has been done, PLC.lsp is flung into action in the right drawing (ie a PLC card drawing with blank spaces). This inserts all the relevant blocks with all the right info at the correct positions.
It works, but one of the problems is that the description might be on 3 lines while the spreadsheet only supplies one cell. So an advanced version of this would need to parse the description string, analyse how many words it had and split it up accordingly.
Maybe next weekend.....
Subscribe to:
Posts (Atom)