Author Topic: ASSIGN PROJECT NAME TO 100+ FILES  (Read 2237 times)

0 Members and 1 Guest are viewing this topic.

AIR

  • Mosquito
  • Posts: 15
ASSIGN PROJECT NAME TO 100+ FILES
« on: March 28, 2022, 03:55:06 AM »
Hi Guys,

Can someone please make a lisp to assign (and remove) AutoCad PROJECTNAME to multiple dwg files, without opening them? Thanks
« Last Edit: March 28, 2022, 05:16:03 AM by AIR »

AIR

  • Mosquito
  • Posts: 15
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #1 on: March 28, 2022, 05:14:47 AM »
Hi Guys,
Can someone please make a lisp to assign (and remove) project name to multiple dwg files, without opening them? Thanks

:idiot2:
Project Name of what? (projectName of LISp.lsp) or ..(one sheet-file-name with multpie dwg)?

PROJECTNAME to all files in specified folder (-s)

JohnK

  • Administrator
  • Seagull
  • Posts: 10653
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #2 on: March 28, 2022, 09:08:26 AM »
You will have to use a script to assign the projectname variable to the files.

You can use my scripting method.
https://www.theswamp.org/index.php?topic=56891.0
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

AIR

  • Mosquito
  • Posts: 15
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #3 on: March 30, 2022, 03:01:07 AM »
Lisp is not possible?

JohnK

  • Administrator
  • Seagull
  • Posts: 10653
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #4 on: March 30, 2022, 09:02:20 AM »
Lisp IS possible. My link is: you use accoreconsole to load a script (aka lisp) on a bunch of files.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

AIR

  • Mosquito
  • Posts: 15
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #5 on: March 31, 2022, 04:02:21 AM »
Lisp IS possible. My link is: you use accoreconsole to load a script (aka lisp) on a bunch of files.
I do have script manager. I don't find it convenient to work with those. I prefer to run lisp instead.

JohnK

  • Administrator
  • Seagull
  • Posts: 10653
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #6 on: March 31, 2022, 09:08:23 AM »
Lisp IS possible. My link is: you use accoreconsole to load a script (aka lisp) on a bunch of files.
I do have script manager. I don't find it convenient to work with those. I prefer to run lisp instead.

I do not think you understand what the link I gave you is and I am getting very frustrated. The link I gave you is a method to RUN a lisp (or several lisps, or script files) on a list of drawings (or by drag-and-drop).

Lee's scriptwriter is a utility to WRITE script files (not a way to run them).
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

AIR

  • Mosquito
  • Posts: 15
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #7 on: March 31, 2022, 10:01:47 AM »
I do not think you understand what the link I gave you is and I am getting very frustrated. The link I gave you is a method to RUN a lisp (or several lisps, or script files) on a list of drawings (or by drag-and-drop).

Lee's scriptwriter is a utility to WRITE script files (not a way to run them).

Pity you can be frustrated so easily...
ScripWriter is a program to type (load) and run scripts.
I don't want to run Script Manager (or whatever you are suggesting) to execute additional scripts or lisps. I don't have a script anyway for my purpose.
Maybe if you can explain how your program works, I will consider using it.
Thanks anyway for suggestion and your time.


JohnK

  • Administrator
  • Seagull
  • Posts: 10653
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #8 on: March 31, 2022, 10:25:59 AM »
Pity you can be frustrated so easily...
ScripWriter is a program to type (load) and run scripts.
I don't want to run Script Manager (or whatever you are suggesting) to execute additional scripts or lisps. I don't have a script anyway for my purpose.
Maybe if you can explain how your program works, I will consider using it.
Thanks anyway for suggestion and your time.
*blink* ...do not be rude.

I did explain. Click the link and read.

I understand you have a problem that needs to be solved but please do not expect others to just solve it for you. You post that you want someone to hand you a solution instead of asking for help. There is not a ready made solution; you will have to write some code to solve your problem. I'm sorry I tried to help you. Good luck.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

BIGAL

  • Swamp Rat
  • Posts: 1422
  • 40 + years of using Autocad
Re: ASSIGN PROJECT NAME TO 100+ FILES
« Reply #9 on: April 01, 2022, 07:39:19 PM »
AIR Aecoreconsole will process 100+ dwgs so fast you will blink and miss what it did.

No matter what you want wether a lisp or a script you still have to write the commands that need to be processed in a file.

The script for Aecoreconsole is (load "mylisp")
A man who never made a mistake never made anything