See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: A Silly Question...

  1. #1
    AUGI Addict
    Join Date
    2006-04
    Location
    (getpoint "Anywhere on the Enter Key =>")
    Posts
    1,160
    Login to Give a bone
    0

    Default A Silly Question...

    Hi ALL,
    I've seen people loading linetype file by using the following line:
    Code:
    (command "-linetype" "_load" "*" "acadiso.lin" "")
    Could you please explain what "*" does for?
    Thanks in advance.

  2. #2
    Active Member
    Join Date
    2008-06
    Location
    Australia
    Posts
    51
    Login to Give a bone
    0

    Default Re: A Silly Question...

    The * would load all the linetypes in the .lin file
    When you manually load a linetype a dialogue box asks to select the line type to load.
    You could specify the name of the linetype to load in lieu of the * if you only wanted to load a single linetype.

  3. #3
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: A Silly Question...

    The * (or asterisk) is used widely as this type of thing. It basically is a "wildcard" character which means "anything repeated indefinitely". It originated from the UNIX / DOS days ... e.g. the DOS command COPY *.* C:\TEMP would copy all files (irrespective of their name and / or extension) from the current directory to the Temp directory on the cdrive.

    To see other similar wildcard characters see the wcmatch function's help in Developer Help.

  4. #4
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    1

    Default Re: A Silly Question...

    Use the command-line version of the LINETYPE command and watch the prompts, filling in the answers as the (command...) function would, and note which option the "*" would be for. Its a good way to find out what almost any (command...) type function and its arguments do.

  5. #5
    AUGI Addict
    Join Date
    2006-04
    Location
    (getpoint "Anywhere on the Enter Key =>")
    Posts
    1,160
    Login to Give a bone
    0

    Default Re: A Silly Question...

    Thanks for everyone's helps.
    These are very useful tips.
    Yes, thanks, again, to irneb, steve & dgorsman.

Similar Threads

  1. Random, silly question
    By mermercad in forum AutoCAD General
    Replies: 14
    Last Post: 2012-04-16, 01:32 PM
  2. A Silly ACAD.PGP "start app" question
    By tedg in forum AutoCAD Customization
    Replies: 2
    Last Post: 2010-10-22, 01:32 PM
  3. If it isnt a silly question
    By ukdodger in forum AutoCAD 3D (2006 or below)
    Replies: 5
    Last Post: 2008-10-23, 03:24 PM
  4. Doors by Type instead of Mark (was yet another silly question...)
    By cheryla in forum Revit Architecture - General
    Replies: 1
    Last Post: 2008-04-23, 11:01 PM
  5. Very silly question: simple solid pyramid?
    By Gadget Man in forum Revit Architecture - General
    Replies: 6
    Last Post: 2006-02-07, 04:40 AM

Posting Permissions

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