Insight into drawing entities

Started by Dempsey, July 15, 2012, 09:02:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dempsey

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.
Dempsey

prl

Thanks, I'll see how this compares with my routines on the mystery drawing.

Dempsey

Dempsey

Dr PR

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

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 forever

Bob P

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

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

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...
25 years with DesignCAD

Dr PR

How often does Dcadalias.d3m change? Will the latest version work with old macros?

Phil
DesignCAD user since 1987

DrollTroll

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.
25 years with DesignCAD

Dempsey

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