Author Topic: attribute edit  (Read 7033 times)

0 Members and 1 Guest are viewing this topic.

AIberto

  • Guest
Re: attribute edit
« Reply #15 on: April 18, 2016, 10:32:22 AM »
Can you post a sample drawing? The program works on the sample dwgs I have that sport attributed blocks with promptless attdefs. Thanks.

In attachment . Just an attribute block without "prompt"
Code: [Select]
command: MyEd
Select object: ; error: Unknown exception occurred
; warning: unwind skipped on unknown exception
« Last Edit: April 18, 2016, 11:16:54 AM by AIberto »

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #16 on: April 18, 2016, 10:35:59 AM »
Thanks AIberto. Could you (or someone else) perform a "SaveAs" down to 2010 format?

I only have AutoCAD 2012 here and no TrueView install.

Thanks and sorry (I should have specified).
« Last Edit: April 18, 2016, 10:49:43 AM by MP »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

AIberto

  • Guest
Re: attribute edit
« Reply #17 on: April 18, 2016, 11:19:44 AM »
Thanks AIberto. Could you (or someone else) perform a "SaveAs" down to 2010 format?

I only have AutoCAD 2012 here and no TrueView install.

Thanks and sorry (I should have specified).

I'm sorry , MP  ,I forgot converted.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #18 on: April 18, 2016, 11:48:06 AM »
Sorry AIberto but that's still a 2013 version dwg.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

ronjonp

  • Needs a day job
  • Posts: 7526
Re: attribute edit
« Reply #19 on: April 18, 2016, 11:51:20 AM »
Sorry AIberto but that's still a 2013 version dwg.
Here you go :)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #20 on: April 18, 2016, 11:56:25 AM »
Thanks Ronjonp.

Both programs work on the sample drawing without incident.

¯\_(ツ)_/¯
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

AIberto

  • Guest
Re: attribute edit
« Reply #21 on: April 18, 2016, 12:15:09 PM »
Thanks Ronjonp.

Both programs work on the sample drawing without incident.

¯\_(ツ)_/¯


I use different PC, different CAD version (2013, 2010) for test . the same error.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #22 on: April 18, 2016, 12:17:24 PM »
Don't know what to tell you, cannot replicate the error here.

Can anyone else replicate the error? Thanks & cheers.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: attribute edit
« Reply #23 on: April 18, 2016, 12:25:32 PM »
Tested here on 2013 ITA, MyEd & Prompter: OK    :-)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #24 on: April 18, 2016, 12:27:28 PM »
Thank you for testing and attesting sir.  :-)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

AIberto

  • Guest
Re: attribute edit
« Reply #25 on: April 18, 2016, 10:04:54 PM »
I use acad2010 ,windows XP sp3 , DOSLib18.arx,

Break at:
Code: [Select]
(dos_proplist "MyEd" "Modify Attributes"
(mapcar
(function (lambda ( a ) (cons (car a) (cadr a))))
attribs
)
)

Tested here on 2013 ITA, MyEd & Prompter: OK    :-)

 mean:  if "prompt" is empty . must use other routine "c:Prompter" to modify attribute prompts , make it not empty .  Then use "Myed" ?

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: attribute edit
« Reply #26 on: April 19, 2016, 02:28:49 AM »
Tested here on 2013 ITA, MyEd & Prompter: OK    :-)

 mean:  if "prompt" is empty . must use other routine "c:Prompter" to modify attribute prompts , make it not empty .  Then use "Myed" ?
No, I used MyEd & Prompter on your file just opened and not modified in two different sessions and loading only one function at a time...  :yes:

AIberto

  • Guest
Re: attribute edit
« Reply #27 on: April 19, 2016, 08:16:44 AM »
Tested here on 2013 ITA, MyEd & Prompter: OK    :-)

 mean:  if "prompt" is empty . must use other routine "c:Prompter" to modify attribute prompts , make it not empty .  Then use "Myed" ?
No, I used MyEd & Prompter on your file just opened and not modified in two different sessions and loading only one function at a time...  :yes:

Dear sir.
I testing. Break at:
Quote
(dos_proplist "MyEd" "Modify Attributes"
   (mapcar
      (function (lambda ( a ) (cons (car a) (cadr a))))
      attribs
   )
)

You analyze why appear error ?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: attribute edit
« Reply #28 on: April 19, 2016, 10:26:01 AM »
Hi AIberto.
  • While MyEd and Prompter both work with some aspect of attributes they are fully independent.
  • Is DOSLIB (http://wiki.mcneel.com/doslib/home) installed and loaded?
  • Define and load this error handler: (defun *error* (m) (vl-bt)).
  • Execute the program and post the error messages you see.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

AIberto

  • Guest
Re: attribute edit
« Reply #29 on: April 20, 2016, 08:38:41 AM »
Hi AIberto.
  • While MyEd and Prompter both work with some aspect of attributes they are fully independent.
  • Is DOSLIB (http://wiki.mcneel.com/doslib/home) installed and loaded?
  • Define and load this error handler: (defun *error* (m) (vl-bt)).
  • Execute the program and post the error messages you see.

windos xp 32bit+ acad2010 +doslib18.arx
Code: [Select]
DOSLib18.arx successfully loaded.

Command: myed
Select object: ; error: Unknown exception occurred
; warning: unwind skipped on unknown exception

Command: (defun *error* (m) (vl-bt))
*ERROR*