Jump to content

Text To Geometry 2015 Testing


Recommended Posts

ChronicCAD

I am receiving unknown command for T2G. App is loaded and icon is there but still receiving that when I try to use in 2015.

Link to post
Share on other sites
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

  • SEANT

    26

  • BlackBox

    9

  • ChronicCAD

    4

  • mock

    3

Top Posters In This Topic

Posted Images

That's odd. I actually developed/debugged via Mechanical 2015.

 

Could you try to load the program explicitly by NETLOADing:

 

. . . . \ApplicationPlugins\STSC_TextToGeometry.bundle\Contents\Support\STSC_Text2Geom_v19.dll

 

Does it still give the same "Unknown Command" response?

Link to post
Share on other sites
ChronicCAD

I used the netload command and afterwards I was able to type and use the text 2 geometry application. When I went to specify an insert point I was given a fatal error and CAD shut down.

"FATAL ERROR: Unhandled Access Violation Reading 0X0000 Exception at ed569f74h"

 

Error report contains following files : acminidump.dmp, dmpuserinfo.xml, dumpdata.zip

 

Let me know if there is anything I can do to help, I am kind of new to all of this but always willing to get down and into it.

Link to post
Share on other sites

Damn, that sounds bad. So the STSC_TextToGeometry.bundle is properly placed, but does not load the CUI, nor Dll. The Dll is loadable, but causes fatal exception.

 

Yikes. I hope it is just a corrupt download. In that light, perhaps you could delete the current Bundle file, and re-download/install.

 

In case that isn't the problem, do you recall the specifics of the Text to Geometry call? what font were you using? What settings were invoked; specifically, was "As Regions" checked?

Edited by SEANT
Link to post
Share on other sites
ChronicCAD

The bundle is properly placed, appdata-roaming-autodesk-applicationPlugins. I was using Vladamir Script and Technic are the only 2 fonts I tried. I will download and replace again and see if that works.

Link to post
Share on other sites

I can confirm that the add-in can work in Mechanical 2015, though that does not guarantee much . Hopefully a re-install will help.

 

I don't have the Vladamir font, but Technic works okay.

Sample.jpg

Link to post
Share on other sites
ChronicCAD

After re installing it seems to work for me. I don't know why because I had tried that earlier but, oh well seems to be working fine for me. Thanks Sean!

Link to post
Share on other sites
  • 2 months later...

Here is a re-package - to include support for AutoCAD 2016 based products.

 

See this thread for manual loading instructions:

 

http://www.cadtutor.net/forum/showthread.php?90736-Wiki-thread-for-dealing-with-an-App.Bundle

 

It is quite possible that the code module (STSC_Text2Geom_v19.dll) will need to be unblocked. If so, see this page for instructions:

 

http://www.thewindowsclub.com/unblock-file-windows-8

STSC_TextToGeometry.bundle.zip

Link to post
Share on other sites
BlackBox

It is quite possible that the code module (STSC_Text2Geom_v19.dll) will need to be unblocked. If so, see this page for instructions:

 

http://www.thewindowsclub.com/unblock-file-windows-8

 

Mine is very similar; presuming the .ZIP file is unblocked first, the resultant files *should* all be unblocked as well (regardless of manual, or registry/context menu alternatives):

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\powershell]
@="Unblock Files"
"Extended"=""
"HasLUAShield"=""
"Position"="Bottom"

[HKEY_CLASSES_ROOT\*\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe Unblock-File -LiteralPath '%L'"

 

 

Separately, one can also apply any given context menu to one or more specific HKCR\Folder; example:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Unblock FOO]
@="Unblock FOO"
"AppliesTo"="System.ItemPathDisplay:\"Downloads\" OR System.ItemPathDisplay:\"Documents\""
"HasLUAShield"=""
"Position"="Bottom"

[HKEY_CLASSES_ROOT\Folder\shell\Unblock FOO\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe Unblock-File -LiteralPath '%L'"

 

 

 

Cheers

Link to post
Share on other sites

Those are system admin shenanigans well above my pay grade. Thanks for the heads up, though. I’ll have to investigate the methodology to see how it can help with my typical app distribution/security concerns.

Link to post
Share on other sites
  • 3 weeks later...
  • 9 months later...

I updated this app for AutoCAD 2017.

 

STSC_TextToGeometryBeta_5-2016.bundle.zip

 

I'm interested to hear how this performs on Windows 7 based machines. Apparently some obscure quirk of that OS manifests itself as a crash bug with this app - taking AutoCAD down in the process.

 

At least, so I've been told. I can't reproduce that behavior in one of my systems running Win 7.

 

Given that Win 7 is still a supported OS for AutoCAD, the app has been pulled from the Exchange.

Link to post
Share on other sites
  • 1 month later...
ronjonp
I updated this app for AutoCAD 2017.

 

[ATTACH]58018[/ATTACH]

 

I'm interested to hear how this performs on Windows 7 based machines. Apparently some obscure quirk of that OS manifests itself as a crash bug with this app - taking AutoCAD down in the process.

 

At least, so I've been told. I can't reproduce that behavior in one of my systems running Win 7.

 

Given that Win 7 is still a supported OS for AutoCAD, the app has been pulled from the Exchange.

 

Just used it in AutoCAD 2017 on Windows 10 x64 & it performed perfectly.

 

It would be cool if the app allowed a selection of text within the drawing & grabbed the textstring & font used.

 

Thanks for this tool :)

Link to post
Share on other sites
BlackBox

Thanks for this tool :)

 

^^ This ^^ :notworthy:

 

 

The only thing I'd like to see added, is the ability to have Esc close the modal dialog/window.

 

Cheers

Link to post
Share on other sites
Just used it in AutoCAD 2017 on Windows 10 x64 & it performed perfectly.

 

It would be cool if the app allowed a selection of text within the drawing & grabbed the textstring & font used.

 

Thanks for this tool :)

 

^^ This ^^ :notworthy:

 

 

The only thing I'd like to see added, is the ability to have Esc close the modal dialog/window.

 

Cheers

 

All good suggestions. Actually, the ESC key dismissal is one I hadn't heard before - I'll have to look into that as well. With regard to using drawing text as source: I originally used the excuse of potential SHX fonts, but it more accurate to say I was just taking the easy way out.

 

As soon as time presents itself I'll look into these items, as well as trying again to figure out that Win 7 bug. I think that probably has something to do with saving settings to the registry.

Link to post
Share on other sites
BlackBox

Actually, the ESC key dismissal is one I hadn't heard before - I'll have to look into that as well.

 

Well if you thought of everything already, then I wouldn't be any good to you, now would I? :beer:

 

I *believe* that you're using a WPF Window (in lieu of a Windows Form), in which case:

 

public MainWindow()
{
   InitializeComponent();

   this.PreviewKeyDown += new KeyEventHandler(CloseOnEscape);
}

private void CloseOnEscape(object sender, KeyEventArgs e)
{
   if (e.Key == Key.Escape)
       Close();
}

 

 

 

Cheers

Link to post
Share on other sites
. . . .

 

I *believe* that you're using a WPF Window (in lieu of a Windows Form), in which case:

 

. . . .

 

Actually, no. It is WinForms. That app was just prior to any WPF/XAML experience on my part. it's not hard to imagine, though, that some similar keyboard event could be captured via winforms.

 

Or, perhaps I should just consider a UI upgrade.

Link to post
Share on other sites
BlackBox
Actually, no. It is WinForms. That app was just prior to any WPF/XAML experience on my part. it's not hard to imagine, though, that some similar keyboard event could be captured via winforms.

 

Or, perhaps I should just consider a UI upgrade.

 

No worries; I still use WinForm for the VSTO + Shell Context Menu 'Project Creator' app I deployed at my office (to create new project directories, and manage INI client name, and project title metadata). I did start a WPF replacement which is pretty schnazzy, but it will be a while before I have the free time to finish it. Haha

 

So for WinForms, you can try using the CancelButton Property, or what I prefer is to use code similar to above:

 

protected override bool ProcessCmdKey(ref Message msg, Keys keyData) {
       if (keyData == Keys.Escape) {
           this.Close();
           return true;
       }
       return base.ProcessCmdKey(ref msg, keyData);
   }

 

 

 

As for a potential upgrade, I'd wait until you're ready to make it modeless before stepping up into WPF - even then, just implement a User Control and consume it via PaletteSet. :thumbsup:

 

 

Cheers

Link to post
Share on other sites
  • 2 months later...

@Seant -

 

I was just attempting to help someone over at Autodesk forums, and the old link I have for this at the Exchange Apps Store no longer shows your app.

 

I can easily provide them a link to this thread for the .bundle above, but was curious if you're no longer participating at Exchange - you're welcome to respond offline (PM, email, etc.), if that's preferred.

 

 

Cheers

Link to post
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
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...