Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*John Schmidt
Suppress convertpst yles warning?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
101 Views, 4 Replies
12-20-2007 10:48 AM
We'd like to run a script for converting a bunch of drawings from .ctb to
.stb format, but can't get around the idiot warning box that comes up
everytime convertpstyles is run - EXPERT variables have no effect.
Does anyone know how we can suppress this warning so we can use
convertpstyles in a script??
Thanks - John
.stb format, but can't get around the idiot warning box that comes up
everytime convertpstyles is run - EXPERT variables have no effect.
Does anyone know how we can suppress this warning so we can use
convertpstyles in a script??
Thanks - John
*Jason Piercey
Re: Suppress convertpst yles warning?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-20-2007 10:59 AM in reply to:
*John Schmidt
Try calling it with the command function.
(command "convertpstyles")
--
Autodesk Discussion Group Facilitator
"John Schmidt" wrote in message
news:5806143@discussion.autodesk.com...
> Does anyone know how we can suppress this warning so we can use
> convertpstyles in a script??
(command "convertpstyles")
--
Autodesk Discussion Group Facilitator
"John Schmidt"
news:5806143@discussion.autodesk.com...
> Does anyone know how we can suppress this warning so we can use
> convertpstyles in a script??
*John Schmidt
Re: Suppress convertpst yles warning?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-20-2007 11:13 AM in reply to:
*John Schmidt
'Works great - thanks!
John
"Jason Piercey" wrote in message
news:5806157@discussion.autodesk.com...
Try calling it with the command function.
(command "convertpstyles")
--
Autodesk Discussion Group Facilitator
"John Schmidt" wrote in message
news:5806143@discussion.autodesk.com...
> Does anyone know how we can suppress this warning so we can use
> convertpstyles in a script??
John
"Jason Piercey"
news:5806157@discussion.autodesk.com...
Try calling it with the command function.
(command "convertpstyles")
--
Autodesk Discussion Group Facilitator
"John Schmidt"
news:5806143@discussion.autodesk.com...
> Does anyone know how we can suppress this warning so we can use
> convertpstyles in a script??
*Jason Piercey
Re: Suppress convertpst yles warning?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-20-2007 11:15 AM in reply to:
*John Schmidt
You're welcome.
--
Autodesk Discussion Group Facilitator
"John Schmidt" wrote in message
news:5806173@discussion.autodesk.com...
'Works great - thanks!
--
Autodesk Discussion Group Facilitator
"John Schmidt"
news:5806173@discussion.autodesk.com...
'Works great - thanks!
Re: Suppress convertpst yles warning?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-16-2013 05:49 AM in reply to:
*John Schmidt
Can someone help me finish this lisp? It loads, but I'm still set to CTB....
(defun CPS (if (= (getvar "PSTYLEMODE") 1)
(command "CONVERTPSTYLES")
)
)
(CPS "C:\\_AutoCAD\\2013\\Config\\Plot Style (STB)\\acadstandard.stb")
or
(if (= (getvar "PSTYLEMODE") 1)
(command "CONVERTPSTYLES" "C:\\_AutoCAD\\2013\\Config\\Plot Style (STB)\\acadstandard.stb")
)
Any help would be appreceated... I just have to load this into my master lisp for everyone.... Much Thanks!!
Paul R. Mascaro
CAD Supervisor | Engineering Design
ENVIRON International Corporation
-----------
System: Dell 6600M
OS | MS Windows 7 64-bit SP1
CPU | Intel Core i7 @ 2.70GHz
RAM | 8.00 GB DDR3 1600 MHz (Dual-Channel @ 798MHz)
Graphics | NVIDIA Quadro 5010M (4 Gig)
CAD Supervisor | Engineering Design
ENVIRON International Corporation
-----------
System: Dell 6600M
OS | MS Windows 7 64-bit SP1
CPU | Intel Core i7 @ 2.70GHz
RAM | 8.00 GB DDR3 1600 MHz (Dual-Channel @ 798MHz)
Graphics | NVIDIA Quadro 5010M (4 Gig)
