DesignCAD User Forum

DesignCAD SDK => User Contributions => Topic started by: Dempsey on July 15, 2012, 09:02:57 PM

Title: Insight into drawing entities
Post by: Dempsey 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:

Updated the entity list as per version 26.2.
Title: Re: Insight into drawing entities
Post by: prl on July 16, 2012, 05:25:07 AM
Thanks, I'll see how this compares with my routines on the mystery drawing.
Title: Re: Insight into drawing entities
Post by: Dempsey 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 (http://forum.designcadcommunity.com/index.php?topic=6821.0)
Title: Re: Insight into drawing entities
Post by: Dr PR 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
Title: Re: Insight into drawing entities
Post by: Rob S 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.
Title: Re: Insight into drawing entities
Post by: Bob P 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.
Title: Re: Insight into drawing entities
Post by: Dr PR 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
Title: Re: Insight into drawing entities
Post by: DrollTroll 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...
Title: Re: Insight into drawing entities
Post by: Dr PR on April 27, 2017, 08:51:21 PM
How often does Dcadalias.d3m change? Will the latest version work with old macros?

Phil
Title: Re: Insight into drawing entities
Post by: DrollTroll 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.
Title: Re: Insight into drawing entities
Post by: Dempsey 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.