How to display text for component

Forum Forums Visual Components 4.1 Python Programming in VC How to display text for component

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by Avatar alfaromeo 1 week, 5 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17142
    Avatar
    alfaromeo
    Participant

    Hello!

    In attached VC layout, I’m trying to display labels of components created at Basic Feeder.

    The labels can be displayed,

    but how can I make the label follow the components?

    Attachments:
    You must be logged in to view attached files.
    #17197
    zesty
    zesty
    Moderator

    Looks like you are creating the labels as geometry set in the feeder. You could modify the part being created to have the geometry set. You could use, for example, a Statistics Display component to display info and attach it to the template part. When a part is created its child components are also created with it, hence the part and statistics display. So if you want to update the display in API, just find the child component of the part, and then edit the TypeMe property of the display.

    But there are different ways to do what you want. In your code, the geometry is not in the part, which is why it does not move with the part.

    #17536
    Avatar
    alfaromeo
    Participant

    Thank you for teaching. understood.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.