The Profiles tab in Profile View not exposed in API?

soonhui
Collaborator
Collaborator

The Profiles tab in Profile View not exposed in API?

soonhui
Collaborator
Collaborator

It does seem that I can't access the Profile Tab in the Profile View via API.  The Profile Tab I mean is as per below:

 

Profile View profiles.jpg

 

All of other Tabs ( such as Bands, Hatch) can be found from the ProfileView class, but not just this Profile tab?

 

Is there anything that I miss?

 
##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software.

Read more at here

0 Likes
Reply
222 Views
8 Replies
Replies (8)

essam-salah
Collaborator
Collaborator

hi


@soonhui wrote:

It does seem that I can't access the Profile Tab in the Profile View via API. 


Profiles is an Alignment properties not Profile view, however, first get the alignment of the profile view using profileView.AlignmentId and open the alignment then use alignment.GetProfileIds().

 

 

0 Likes

Domzinator
Enthusiast
Enthusiast

I think he is wanting to access the profiles tab itself rather that the profile id's.

Civil 3D Certified Professional
0 Likes

essam-salah
Collaborator
Collaborator

@soonhui 

have your problem solved?

0 Likes

soonhui
Collaborator
Collaborator

@essam-salah , exactly as per @Domzinator  said, I want to access Profile View of the profile ( ie: to configure how a profile will appear in the Profile View), and not the Profile ID.

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software.

Read more at here

0 Likes

Domzinator
Enthusiast
Enthusiast

can you give an example on what you are looking to do, it will help with a bit more info on what you are trying to do exactly?

Civil 3D Certified Professional
0 Likes

Jeff_M
Consultant
Consultant

@soonhui I believe that what you are looking for is the GraphOverrides property of the ProfileView. Each profile will have a ProfileOverride entry.

Jeff_M, also a frequent Swamper
EESignature
0 Likes

soonhui
Collaborator
Collaborator

@Jeff_M , I'm not entirely sure exactly which properties in ProfileOverride that corresponds to what I see in the screenshot that I share. For instance, in the screenshot, we have "Clip Grid", "Split At", "Offset" and all. But they don't seem to have corresponding properties in the ProfileOverride? 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software.

Read more at here

0 Likes

Jeff_M
Consultant
Consultant

@soonhui The Offset property (among others) comes from the Profile itself, the Clip & Split grid are properties of the GraphOverrides.

 

2025-01-03_06-37-27.png

Jeff_M, also a frequent Swamper
EESignature
0 Likes