- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am attempting to attach hyperlinks to AutoCAD documents through AcCoreConsole batch processing. Unfortunately, the core console does not have native support for the hyperlink command. In order to circumvent this I took the ObjectARX module that the hyperlink command is associated with (acapp.arx) and renamed it to have the .crx file extension (I renamed it to hyper.crx). This has actually worked, but is a very inconsistent method. See the attached picture for what I mean by this.
As you can see, the hyperlink command is not recognized by AcCoreConsole on startup and my initial arxload statement threw back an error (invalid ARX file). However, passing through the exact same arxload command again was successful and allowed for the use of the hyperlink command in the console. It seems to work about 50% of the time in my testing.
I am quite confused by the inconsistency of this behavior. Obviously, the console is capable of running the hyperlink command. The only explanation I can think of is there are other commands in acapp.arx that reference libraries that are not supported by AcCoreConsole, but I still don't see why it would still work roughly half the time if that were the case.
I am aware that I could develop an ObjectArx app that could do what I am trying to do, but if there is a straightforward way to get the method detailed above to work, I would prefer to take this route as it seems much easier.
Solved! Go to Solution.