Tuesday, May 17, 2005

Tips when changing license server

If you have to move or transfer your AutoCAD Network License Manager to another server the users have to be pointed to this server as well.

Instead of having to manually update all users LICPATH.LIC file I have a VBScript that runs when the user logs in that solves this. Otherwise also Group Policy Object settings can be used.

Example:
On Error Resume Next
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Set WshSysEnv = WshShell.Environment("SYSTEM")
WshSysEnv.item("ADSKFLEX_LICENSE_FILE") = "@SERVER1;@SERVER2;@SERVER3"


When ADSKFLEX_LICENSE_FILE, the registry, and licpath.lic are used, the order of precedence is:
  1. ADSKFLEX_LICENSE_FILE
  2. registry
  3. licpath.lic
  4. License Finder dialog box is displayed
When ADSKFLEX_LICENSE_FILE, LM_LICENSE_FILE, the registry, and licpath.lic are used, the order of precedence is:
  1. ADSKFLEX_LICENSE_FILE
  2. registry
  3. LM_LICENSE_FILE
  4. licpath.lic
  5. License Finder dialog box is displayed
JTB FlexReport can help with your network license management.

Tuesday, May 10, 2005

AutoCAD 2006 and how to start AutoCAD with different Workspaces

Here is a tip on how to start AutoCAD 2006 with a specific Workspace.
There is not direct way to start AutoCAD 2006 with a specific Workspace but it can be done with a script file.
Create a shortcut with this Target:
"C:\Program Files\AutoCAD 2006\acad.exe" /b "C:\CustomWS.scr"

CustomWS.scr holds this row where CustomWS is the name of the Workspace:
(if (/= (getvar "wscurrent") "CustomWS") (command "wscurrent" "CustomWS"))

The reason for why I made the code above like this is because of performance. It just set wscurrent to CustomWS when needed.

Then you can add as many shortcuts as you want for your different Workspaces.

Monday, May 9, 2005

Surprising ad about Visio for 2D in Autodesk magazine

I was quite surprised when I read through the Swedish Autodesk magazine 'Autodesk DESIGNER' to see a full page ad about Electric diagrams with Microsoft Office Visio 2003. The ad is comparing the cost of Visio against CAD applications with a price 4-12 times the price of Visio. I'm sure they aim against applications like AutoCAD LT and the like. www.eurocitysoftware.com/visio www.microsoft.se/visio

Thursday, April 28, 2005

Misha at Autodesk wants input on the LAYFRZ, LAYOFF and LAYISO tools

Let him know your thoughts. Your input needed Guys, I have a question for you. I am doing some research on the usage of certain tools/commands in AutoCAD and was wondering how many of you have ever used LAYVPMODE express tool to change default behavior of LAYFRZ, LAYOFF and LAYISO tools. I would like to hear from those of you who used these three express tools (no matter if you were aware of LAYVPMODE tool or not). Thanks, Misha Belilovskiy AutoCAD Test Development

Wednesday, April 27, 2005

On History of Lisp

This document by John McCarty the designer of LISP can be interesting for those using AutoLISP and Visual LISP or any other Lisp dialect.

AutoCAD 2006 script bug

I run into an introduced bug in AutoCAD 2006 today. When using the command Close in a script the execution stops. This didn't happen in AutoCAD 2005.
The below script will stop after running the first close:
OPEN "drawing1"
dosomething here
CLOSE
OPEN "drawing2"
etc.

If you find a bug make sure to notify Autodesk of it so it can get fixed.
One way is: http://www.autodesk.com/submitbug

Update 2005-05-02:
One workaround is to use is to add a space after the CLOSE command so it becomes "CLOSE " instead of "CLOSE". This only works for 2006 so you have to have separate scripts for 2006 and older versions.
Another workaround that works for all versions is to use the code below instead of CLOSE
(command "VBASTMT" "Application.ActiveDocument.Close(False)")
or
(command "VBASTMT" "Application.ActiveDocument.Close(True)")
The first one is if you want to close and don't save the drawing.
The other one is if you want to save the drawing.

Monday, April 25, 2005

NBC Universal, Rhoditech and BouwtaaK KennisCentrum selects JTB FlexReport

NBC Universal in US, Rhoditech in France and BouwtaaK KennisCentrum in Netherlands has selected JTB FlexReport as their solution to have better control on their network licenses. This for applications like ADT, AutoCAD, IBM Rational tools, Mathlab, Fluent and others.

SmartPurger awarded 5 stars

SmartPurger has been awarded the TOP score by the TopShareware editor. SmartPurger is great when you want to purge and batch multiple drawings. You can run audit, zoom extents, create preview icons. Convert between versions. Purge Blocks, Dimension styles, Layers, Linetypes, Mline styles, Shapes, Text styles, Plot styles, Page Setups, Filter states, Layer states, Layer manager states (Express Tools), Line objects without length, Text objects without text, embedded VBA code, registered applications collections, Anonymous Groups, Groups. It's possible to restore the date and time of the file to what it was before the scripting. Delete .BAK and other temporary or garbage files. And much more. SmartPurger works for AutoCAD 2006 and it's verticals down to AutoCAD r14 as well as LT.

Saturday, April 23, 2005

Refactor! in VB 2005

I look forward to get my hands on VB 2005 Beta 2. 3 minute video showing Refactor! that will be included. Refactor! for VB 2005 Beta 2 is here. And here is more about it.

Friday, April 22, 2005

Autodesk DWF Viewer 6.0 released

Autodesk DWF Viewer 6.0 is now released. It includes print preview among other things.

AutoCAD 2006 flip dimension arrows

AutoCAD 2006 introduced a new functionality related to dimensions. The command is aidimfliparrow and it lets you flip the direction of an arrowhead. This is sometimes useful as the image shows.

The command is available if you select a dimension and right-click on it. Make sure that you select the dimension on a point that is close to the arrowhead that you want to flip. Only one arrowhead at a time can be flipped.
Note that ADT 2006 doesn't have this command on the right-click menu.
A minor bug is related to this command. If the aidimfliparrow command is run from the command line it accepts multiple objects but it only works if you select one dimension object.

Tuesday, April 19, 2005

Upgrade Autodesk Network License Manager within minutes

AutoCAD 2006 requires a new version of the NLM executables. lmtools.exe is version 10.1.5.0 now.

Here is a quick way to use when you need to upgrade NLM. It could be from AutoCAD 2005 to AutoCAD 2006, other versions or products that uses Macrovision's licensing technique. There is no need to uninstall the old Autodesk Network License Manage and install the new if you don't want to.

  • Identify the location of these files on your server(s):
    adskflex.exe, lmgrd.exe, lmtools.exe, lmutil.exe
  • On the AutoCAD 2006 CD the files are located here
    \Bin\acadFeui\support\nlm\Program Files\Autodesk Network License Manager
  • On the AutoCAD 2006 CD run Setup, select Network Deployment and install the Network License Activation Utility. With this utility you can easy and quick request a new license file or append to your existing license file the new feature.
  • When you have made the change to the license file go to the license server and stop the FLEXlm/FLEXnet service(s) using lmtools.exe.
  • Now copy the 4 exe files mentioned from the CD (DVD) to your server.
  • Run lmtools.exe and start the service(s).

If you do the above quick enough (stopping the service, copying the files and starting the service again) and is cool you can do it even when users are using AutoCAD. I don't recommend it but I have done it so I know it works. Recommendation is to do it at a time so you can recover the errors that might happen.

To better control the license usage give JTB FlexReport a try.

Monday, April 18, 2005

Hyperlinks web-performance tip using /

I just learned a new thing from the IEBlog. "PS: Another web-performance tip: When generating hyperlinks, always include a trailing slash if possible. For instance, navigating to http://msdn.microsoft.com/ie takes one more roundtrip than http://msdn.microsoft.com/ie/. When the browser navigates to the /ie url, the server merely sends down a 301 to the /ie/ url. Both links work, but the second version is faster. "

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.