Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The Profiles tab in Profile View not exposed in API?

8 REPLIES 8
Reply
Message 1 of 9
soonhui
227 Views, 8 Replies

The Profiles tab in Profile View not exposed in API?

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

8 REPLIES 8
Message 2 of 9
essam-salah
in reply to: soonhui

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().

 

 

Message 3 of 9
Domzinator
in reply to: essam-salah

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

Civil 3D Certified Professional
Message 4 of 9
essam-salah
in reply to: essam-salah

@soonhui 

have your problem solved?

Message 5 of 9
soonhui
in reply to: soonhui

@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

Message 6 of 9
Domzinator
in reply to: soonhui

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
Message 7 of 9
Jeff_M
in reply to: soonhui

@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
Message 8 of 9
soonhui
in reply to: soonhui

@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

Message 9 of 9
Jeff_M
in reply to: soonhui

@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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report