Author Topic: Open DWG readonly.  (Read 11314 times)

0 Members and 1 Guest are viewing this topic.

Trev

  • Guest
Open DWG readonly.
« Reply #15 on: July 21, 2004, 10:18:06 PM »
Hey CADaver, wouldn't it be better to test for the user 'login' rather than the profile. That way you have better control if said user goes to a different PC.

Code: [Select]

(if (=(getvar "login") "CADaver")
  (do-stuff)
  (dont-do-stuff)
)

CADaver

  • Guest
Open DWG readonly.
« Reply #16 on: July 21, 2004, 11:16:44 PM »
Quote from: Trev
Hey CADaver, wouldn't it be better to test for the user 'login' rather than the profile. That way you have better control if said user goes to a different PC.

Code: [Select]

(if (=(getvar "login") "CADaver")
  (do-stuff)
  (dont-do-stuff)
)

Yeah, If'n I wanted to restrict them all the time, but sometimes they need to use the software to make drawings.  Heck, I'll use it from a profile for those times I'm just checking progress or standards compliance.