Jump to content

Area w/Unit Conversion and optional Fields


Recommended Posts

Posted (edited)
File attached.

 

Andy

 

Thanks Andy, but I still get the following error message when running 2.1 as I did with version 1.3, don't have a clue what is going wrong... it runs up to the point of retrieving the dcl file which is displayed for a millisecond and then crash...

thanks for the file tho...

Steve

 

Command: ac

Object Filter [ ANY / POLYLINE / CIRCLE / ELLIPSE / REGION / SPLINE / HATCH]:

Select objects: 1 found

Select objects:

>

Edited by stevesfr
add error message
  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • stevesfr

    7

  • jvillarreal

    7

  • BlackBox

    5

  • andyevans

    4

Posted

FWIW - You might consider accounting for when the user hits "Esc" during the DCL dialog, as the polyline selected is labeled, the "Area Report" is still created and subsequently opened, despite my purposely hitting Esc.

 

Tested v2.1 on Windows 7 Enterprise (64-Bit), and Microsoft Office 2007.

 

HTH

 

[edit]

Also, not all users have write-access to the directory containing acad.pat BTW.

 

In my situation, I am one of only a few who have write-access to the support structure on the server. Were I to not have this access, an error would surely have been produced.

[/edit]

  • 2 months later...
Posted

Sorry for the late response. I hadn't seen the last few posts to this thread.

Stevesfr, I'm sorry I couldn't resolve your issue. My only suggestion would be to replace the getobjectid function included in the routine with another.

RenderMan, Thanks for the feedback.

Attached is version 2.1 modified -

I've added a few functions to clean the code, added escape functionality and made use of vl-filename-mktemp for the dcl and txt/csv options.

AC_AREA-CALC_v2.1.lsp

  • 4 years later...
Posted

Hi everyone!

 

Frist of all I want to show my grattitude to jvillarreal. It's being so useful to me. I'm trying to add a second row to show the length data, but i'm unable to understand the code and i don't know in what line the row is chosen to print the field data.

 

I know this thread is from long time ago, but i had to try.

 

Thanks in advance for everything.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...