.NET AeccSynchronizeReferences

.NET AeccSynchronizeReferences

darius.simkunas
Advocate Advocate
514 Views
2 Replies
Message 1 of 3

.NET AeccSynchronizeReferences

darius.simkunas
Advocate
Advocate

Hi,

 

Is possible to synchronize all DREFS using .net.

The main target is open Civil 3D file using Coreconsle, synchronize all DREFS and rebuild corridor.

This job will be done on Vault Job server.

The user just will initiate the job and that is it for him.

 

I have try send command AeccSynchronizeReferences from .net as command, but core console crashes.

I gave tried to send command to Core console in script, but it did not work.

 

Best regards

 

Darius

0 Likes
515 Views
2 Replies
Replies (2)
Message 2 of 3

augusto.goncalves
Alumni
Alumni

Darius,

 

The console will only run/script commands without UI (e.g. forms or dialogs)

 

For .NET, you can only use AcCoreMgd, AcDbMgd and, for Civil 3D, AeccDbMgd. You cannot use COM APIs (e.g. objects prefixed with IAecc or Aecc)

 

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 3 of 3

darius.simkunas
Advocate
Advocate

Hello,

 

Is there some changes in latest version? Maybe there is some ways to load in accore console like I saw examples with 

arx Load "C:\Program Files\Autodesk\AutoCAD 2023\ACA\AecArchCore.crx"

 

Thanks

0 Likes