Author Topic: CONFLICT WITH AUTOCAD WHEN CREATING NEW TEXT STYLE  (Read 124 times)

Christian12

  • Member
  • *
  • Posts: 5
CONFLICT WITH AUTOCAD WHEN CREATING NEW TEXT STYLE
« on: May 14, 2019, 10:14:40 PM »
GREETINGS, I HAVE A PROBLEM WHEN I TRY TO EXECUTE MY LISP PROGRAM WITH A DIALOG BOX TYPE "MODELESS DIALOG" WITH
THE OPENDCL HELP, THE PROBLEM BEGINS WHEN I RUN THE LISP ROUTINE WITH THE CREATED DIALOGRAPH PICTURE, IT PRESENTS AN ERROR
WHAT AUTOCAD AUTOMATICALLY CLOSES CANCELING THE PROGRAM EXECUTION, TRY TO EXECUTE THE LISP REMOVING THE CODE THAT CREATES A NEW
STYLE OF TEXT AND ITS INSERTED IN THE CAD, IN THIS CASE IT DOES NOT GENERATE ANY ERROR AND THE PROGRAM WORKS OF THE BEST, WHICH MAKES ME THINK
THAT THE PROBLEM CAN BE THE TEXT STYLE THAT I TRY TO CREATE, I ASK TO HELP ME AS I NEED TO CREATE AND INSERT A TEXT IN THE
EXECUTION OF MY ROUTINE LISP WITH THE DIALOGUE WINDOW THAT CREATES THIS INTERESTING PROGRAM THAT IS THE OPENDCL, THANKS, I LEAVE THE COMPLETE CODE.
« Last Edit: May 14, 2019, 10:36:58 PM by Christian12 »

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2058
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: CONFLICT WITH AUTOCAD WHEN CREATING NEW TEXT STYLE
« Reply #1 on: May 14, 2019, 10:30:13 PM »
Hi, I just cannot have a look at the project but I assume you should change the event invoke property of the control (button) that invokes creating the style to "AllowCommand". Have a forum search for event invoke.
Hope that helps.
Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Christian12

  • Member
  • *
  • Posts: 5
Re: CONFLICT WITH AUTOCAD WHEN CREATING NEW TEXT STYLE
« Reply #2 on: May 15, 2019, 08:03:54 AM »
Thanks Fred, change the property of invoke event to 1, and apparently the error was corrected, I'm starting with the use of Opendcl and your help is very useful, I thank you.