mapconnect using .net commandline

mapconnect using .net commandline

steven.devries
Participant Participant
505 Views
4 Replies
Message 1 of 5

mapconnect using .net commandline

steven.devries
Participant
Participant

Hi,

 

I would like to use c# to

  • start the mapconnect command
  • Add WFS Connection
    • Set Connection name
    • Set Server name (url)
    • Connect

I tried to set the CMDDIA to 0 and this will not prevent the mapconnect dialogbox to start.

Is there a way to add a WFS connection from the command line?

 

an other option is : i can drag and drop *.layer files in to Civil manually, which works great but is there a way to do this in c# code : 

stevendevries_4-1674654681392.png

 

stevendevries_1-1674654419142.png

stevendevries_2-1674654449391.png

 

stevendevries_3-1674654601649.png

Kind regards,

Steven

 

 

0 Likes
Accepted solutions (1)
506 Views
4 Replies
Replies (4)
Message 2 of 5

tcorey
Mentor
Mentor
Accepted solution

Are you aware that Autodesk maintains a user forum specifically for customization of Civil 3D?

 

Civil 3D Customization Forum - Autodesk Community

 

You'll put your question in front of the programmers, not just us lowly users. 😉



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 5

ChrisRS
Mentor
Mentor

 I agree with @tcorey.

 

If you "REPORT" your original post and state that you are the original poster, you can request that the moderator move it to the Customization forum without losing comments.

Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 5

steven.devries
Participant
Participant

Thank you for the tip

Message 5 of 5

steven.devries
Participant
Participant
Hi Tim, i was not aware of the other forum, thank you very much for the tip, i have posted this question there. Regards, Steven
0 Likes