Jump to content

Text To Geometry 2015 Testing


SEANT

Recommended Posts

Here's a solution with projects for AutoCAD2023 and BricsCADv22, and binaries.

 

I tried to make a version for ZwCad, but

 AcAp.Application.UserConfigurationManager.OpenCurrentProfile(); failed.

 

warning CS0618: 'GlyphRun... has been depreciated

 

 

 

Edited by Danielm103
  • Like 1
Link to comment
Share on other sites

Nice to see this migration to other platforms.  Thanks for all the effort.

 

warning CS0618: 'GlyphRun... has been depreciated


That's interesting.  I'll have to investigate the replacement for GlyphRun.

Link to comment
Share on other sites

Compiler says, 'Use the PixelsPerDip override'. I had to change the .NET version to build with Acad 2023.

I made a support request for ZwCad.

 

Reading back in the thread, I surprised Autodesk wouldn’t, couldn’t help you find the issue.

 

I attached a debugger in 2023, I get a bunch of

Forgot to call Dispose? (Autodesk.AutoCAD.DatabaseServices.Spline): DisposableWrapper

 

And when I select as region

Forgot to call Dispose? (Autodesk.AutoCAD.DatabaseServices.Region): DisposableWrapper

 

None of those would shutdown acad.

 

 

 

Edited by Danielm103
Link to comment
Share on other sites

PixelsPerDip?  I shall look into that.

 

Autodesk was willing to notify and did point out the problem OS setup, but not much else.  To be fair, I did not ask for their assistance either.

 

I will go back through the code to make better use of using statement.  

 

With regard to Regions specifically, though, I am encountering numerous Forgot to call Dispose? (Autodesk.AutoCAD.DatabaseServices.Region): DisposableWrapper warnings on a more current project.  There, though,  I've been very careful about the 'Using' methodology, or, as an alternative, a more explicit Dispose() - yet that warnings still persist.  That routine does employ copious amounts of Region and Boolean operations, however.   For the most part, I do not suffer crashes, so I just disregard the warnings.  Perhaps the more limited scope of Region use in T2G will help shed some light on that issue.

 

Once again, thanks for your assistance.

Link to comment
Share on other sites

Hi 

 

I am using Bricscad V20 but get errors when trying to load. I expect it is a library thing compiling with version V20.

 

Error Message: Could not load file or assembly 'file:///D:\Alan\LISP\Text 2 geom\BCAD\STSC_Text2Geom_v19.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Link to comment
Share on other sites

2 hours ago, BIGAL said:

Hi 

 

I am using Bricscad V20 but get errors when trying to load. I expect it is a library thing compiling with version V20.

 

Error Message: Could not load file or assembly 'file:///D:\Alan\LISP\Text 2 geom\BCAD\STSC_Text2Geom_v19.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

0x80131515 means the DLL is blocked, right click on the DLL->properties->unblock

Link to comment
Share on other sites

Thank you for letting me know, it is working now, I dont use often but its one of those programs you just have for a rainy day.

 

Also to Seant for original program.

 

Edited by BIGAL
Link to comment
Share on other sites

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