Update Dynamic Block. - VLAX-ENAME->VLA-OBJECT not Supported in APS?

Update Dynamic Block. - VLAX-ENAME->VLA-OBJECT not Supported in APS?

davidJKE76
Explorer Explorer
279 Views
7 Replies
Message 1 of 8

Update Dynamic Block. - VLAX-ENAME->VLA-OBJECT not Supported in APS?

davidJKE76
Explorer
Explorer
 

We have a LISP file that manipulates Dynamic Blocks in our .DWG file.
It works locally but when we try to run it on Autodesk Platform Services (APS) I get the error: no function definition: VLAX-ENAME->VLA-OBJECT

I assume VLAX-ENAME->VLA-OBJECT is not supported in the API

I am looking at other ways to try and change the properties.

If I lIST the properties of the block, the two properties are in the Custom section.

I have tried using CHANGE but it cannot see the properties.

Was wondering if anyone had a bright idea to get this to go?


0 Likes
Accepted solutions (1)
280 Views
7 Replies
Replies (7)
Message 2 of 8

norman.yuan
Mentor
Mentor

Yes, you are correct: VLAX uses AutoCAD COM API, while the AutoCAD in the Autodesk Platform Services (APS) is AutoCAD core console, which does not support COM API. You would need to create a AutoCAD .NET plugin and upload it to your APS account as an Design Automation Activity. Then you can use this Activity to process your drawing (updating dynamic blocks in the draw, in your case).

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 8

davidJKE76
Explorer
Explorer
Accepted solution

Thanks for the reply Norman. You would think there would be a set of default plugins that would be able to do this. Ill investigate the plugin option further.
Cheers

0 Likes
Message 4 of 8

Sea-Haven
Mentor
Mentor

Not sure if this helps but with coreconsole you can load the correct ARX as part of running Corceonsole then it exposes the VL etc Do a Google "load arx coreconsole autocad"

0 Likes
Message 5 of 8

BlackBox_
Advisor
Advisor

@Sea-Haven wrote:

Not sure if this helps but with coreconsole you can load the correct ARX as part of running Corceonsole then it exposes the VL etc Do a Google "load arx coreconsole autocad"


https://www.theswamp.org/index.php?topic=57471.msg609440#msg609440


"How we think determines what we do, and what we do determines what we get."

Sincpac C3D ~ Autodesk Exchange Apps

0 Likes
Message 6 of 8

Sea-Haven
Mentor
Mentor

Thanks @BlackBox_ was trying to find.

0 Likes
Message 7 of 8

cooksterZFRS3
Community Visitor
Community Visitor

Thanks for the reply's team. I went down the 'dll' route and with a little AI assistance created a plugin that does the job. My List runs and the dynamic block  is sorted now. Onwards to the next challenge. Cheers. 

0 Likes
Message 8 of 8

davidJKE76
Explorer
Explorer

Hi all I tried the dll plugin route and it worked a treat. My dynamic blocks are behaving now in APS.

Thanks to the other posts around ARX. I will have a look at that as well when I get a sec.

Cheers Team

0 Likes