Author Topic: Insight into drawing entities  (Read 1452 times)

Dempsey

  • Hero Member
  • *****
  • Posts: 1890
  • Intel i7-960, 12GB, NVidiaGTX570, Win7x64, DC26.2
    • World of van Vliet
Insight into drawing entities
« on: July 15, 2012, 09:02:57 PM »
While looking at prl's "mysterious groups drawing" I realize that I was using a macro that I never shared with you.

drawing_info.d3m allows you to look at:
  • entities summary of entire drawing
  • entity details of selected items or entire drawing (NOTE: entity details of a large entire drawing is pretty useless though)
  • one or more SYS() values
  • one or more SYS$() values

Updated the entity list as per version 26.2.
« Last Edit: April 26, 2017, 03:56:11 PM by Dempsey »
Dempsey

prl

  • Hero Member
  • *****
  • Posts: 3389
  • A Bézier Extrusion
Re: Insight into drawing entities
« Reply #1 on: July 16, 2012, 05:25:07 AM »
Thanks, I'll see how this compares with my routines on the mystery drawing.

Dempsey

  • Hero Member
  • *****
  • Posts: 1890
  • Intel i7-960, 12GB, NVidiaGTX570, Win7x64, DC26.2
    • World of van Vliet
Re: Insight into drawing entities
« Reply #2 on: April 26, 2017, 04:00:21 PM »
I updated my drawing info macro with the latest entities as per http://forum.designcadcommunity.com/index.php?topic=6821.0
Dempsey

Dr PR

  • Hero Member
  • *****
  • Posts: 5398
Re: Insight into drawing entities
« Reply #3 on: April 26, 2017, 08:58:54 PM »
Dempsey,

When I tried to use your drawing info macro I got this error message:

ERROR: include file <%s> not found

INCLUDE "DcadAlias.d3i"

Phil
DesignCAD user since 1987

Rob S

  • Hero Member
  • *****
  • Posts: 4285
    • Construction Estimating Program for General Contractors
Re: Insight into drawing entities
« Reply #4 on: April 27, 2017, 08:52:09 AM »
Is it possible said file is missing from your Designcad program folder?

Mine is a 10.182 byte file.   If missing, could try copying one from an earlier version.
User since Pro-design

Bob P

  • Hero Member
  • *****
  • Posts: 1140
    • Era Replica Automobiles
Re: Insight into drawing entities
« Reply #5 on: April 27, 2017, 11:30:18 AM »
Just in case, I sometimes use the complete path for the dcadalias file. I also keep a copy in both the program folder and my macro folder.

Dr PR

  • Hero Member
  • *****
  • Posts: 5398
Re: Insight into drawing entities
« Reply #6 on: April 27, 2017, 03:42:10 PM »
Rob,

That's likely the problem. The program can be installed anywhere, as can the macros. So it is highly improbable that a macro will work if it requires files in a specific location other than where the macro is loaded.

Phil
DesignCAD user since 1987

DrollTroll

  • Kindly Curmudgeon
  • Administrator
  • *****
  • Posts: 4123
Re: Insight into drawing entities
« Reply #7 on: April 27, 2017, 04:22:47 PM »
When I create macros, I use the existing Dcadalias.d3m as a reference, and copy any needed aliases directly into my macro, thus removing the need for the external file.

There should be a copy of it in the Sample Macros folder...
2016 marks my 24th year in DesignCAD-Land!

Dr PR

  • Hero Member
  • *****
  • Posts: 5398
Re: Insight into drawing entities
« Reply #8 on: April 27, 2017, 08:51:21 PM »
How often does Dcadalias.d3m change? Will the latest version work with old macros?

Phil
DesignCAD user since 1987

DrollTroll

  • Kindly Curmudgeon
  • Administrator
  • *****
  • Posts: 4123
Re: Insight into drawing entities
« Reply #9 on: April 28, 2017, 06:09:17 AM »
Occasionally we add new aliases as new Query/Change parameters are added, but for the most part macros from v18 and later should work with the latest version of DcadAlias.d3m.

There were some parameters that changed between versions 17 and 18, mostly dimension parameters if I recall correctly.
2016 marks my 24th year in DesignCAD-Land!

Dempsey

  • Hero Member
  • *****
  • Posts: 1890
  • Intel i7-960, 12GB, NVidiaGTX570, Win7x64, DC26.2
    • World of van Vliet
Re: Insight into drawing entities
« Reply #10 on: April 28, 2017, 08:08:40 PM »
I am using an edited version of DcadAlias.d3i labeled in the comment as version 22.1 and keep it in my own macro directory.

I edited it to add the three FACET entries.

Each official released version should have the appropriate updated DcadAlias.d3i in Sample Macros directory.
Dempsey