How to specify the default (Pressure|Gravity) Network when I create a Table?

How to specify the default (Pressure|Gravity) Network when I create a Table?

soonhui
Advisor Advisor
115 Views
4 Replies
Message 1 of 5

How to specify the default (Pressure|Gravity) Network when I create a Table?

soonhui
Advisor
Advisor

Refer to here, the screenshot is replicated below:

 

default table style.png

 

I can specify the table style via @Jeff_M  C# code, per below

 

  var settings = CivilApplication.ActiveDocument.Settings.GetSettings<SettingsCmdAddAppurtTable>();
            settings.TableCreation.TableStyle.Value= "Valve Name Size Type";

 

But what about the selected Network?

 

Anyway to specify that?

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Accepted solutions (2)
116 Views
4 Replies
Replies (4)
Message 2 of 5

Jeff_M
Consultant
Consultant
Accepted solution

I don't believe there is a 'default' network. What I see is that it always has the first network selected and I must change it to the one I need.

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 5

soonhui
Advisor
Advisor

@Jeff_M , so essentially you are saying that there is no API way to select the network in the above dialog box?

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Message 4 of 5

Jeff_M
Consultant
Consultant

Correct @soonhui 

Jeff_M, also a frequent Swamper
EESignature
Message 5 of 5

soonhui
Advisor
Advisor
Accepted solution

I've filed an equivalent request at the Ideas forum, please consider go and upvote it. 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes