Get section from to Sectionview

Get section from to Sectionview

anhtrung
Advocate Advocate
975 Views
3 Replies
Message 1 of 4

Get section from to Sectionview

anhtrung
Advocate
Advocate

I want to get section on SectionView. See image below. Thks

d.png

0 Likes
Accepted solutions (1)
976 Views
3 Replies
Replies (3)
Message 2 of 4

Jeff_M
Consultant
Consultant
Accepted solution
You need to look at the GraphOverrides property of the sectionview.
Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 4

anhtrung
Advocate
Advocate

@Jeff_M I have a question, When i get SectionPointCollection so on datagridview difference with section editor. See below image and view code. Thks

SectionPointCollection _sectionPoint = _section.SectionPoints;
foreach (SectionPoint _point in _sectionPoint)
{
SectionPoint _poi = _point as SectionPoint;
dgv_dltn.Rows.Add();
int index = dgv_dltn.RowCount - 1;
dgv_dltn.Rows[index].Cells[0].Value = (index + 1).ToString();
dgv_dltn.Rows[index].Cells[1].Value = _poi.Location.X.ToString();
dgv_dltn.Rows[index].Cells[2].Value = _poi.Location.Y.ToString();
}

Untitled.png

0 Likes
Message 4 of 4

Jeff_M
Consultant
Consultant

@anhtrung, the SectionPoints is a known issue. See THIS thread for a discussion and workaround.

Jeff_M, also a frequent Swamper
EESignature
0 Likes