Results 1 to 1 of 1

Thread: compare field value with systemvariable in DIESEL or Autolisp

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2015-05
    Posts
    1
    Login to Give a bone
    0

    Post compare field value with systemvariable in DIESEL or Autolisp

    In Title block i want to put a plot stamp which includes MText as

    DWG Status : STATE ON: dd/mm/yyyy BY: LOGIN NAME

    where, dd/mm/yyy is Field- plot date and LOGIN NAME is Field- Login which I am able to get without any problem

    The STATE should be RELEASED or DRAFT depending on who has opened the file and plot. Here at present i have used DIESEL expression in field for STATE as

    $(if,$(eq, $(getvar, loginname), NAME),"RELEASED","DRAFT")

    which is hard coded that is, if loginname is same as text "NAME" then output @ STATE is RELEASED or otherwise it will be DRAFT.

    i want to know how insert or get Sheet-Set-custom-Property value of "Approved By" instead of NAME. Any leads will be helpful and highly appreciated.
    Last edited by sudhas_albin701870; 2015-06-19 at 05:55 PM.

Similar Threads

  1. Diesel and Field with if statement
    By jcs1112 in forum AutoCAD Customization
    Replies: 1
    Last Post: 2016-06-29, 11:55 PM
  2. Block count in drawing by field or diesel
    By ismail.asi in forum AutoCAD Fields
    Replies: 4
    Last Post: 2011-12-07, 11:04 PM
  3. Can Logic be Added to a Diesel Field...??
    By CADdancer in forum AutoCAD Fields
    Replies: 4
    Last Post: 2011-03-08, 01:07 PM
  4. Field in Field using Diesel
    By irneb in forum AutoCAD Fields
    Replies: 0
    Last Post: 2008-01-15, 03:52 PM
  5. Diesel of a field
    By irneb in forum AutoCAD General
    Replies: 1
    Last Post: 2008-01-15, 05:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •