Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Access/Overwrite the code inside the GHPython from another GHPython component #54

@mostaphaRoudsari

Description

@mostaphaRoudsari

I wonder if there is a way that I can can access the code inside the GHPython components on canvas and modify/overwrite them from a GHPython component.

I'm thinking to use this method to update the components that I share with others as user objects. I want to iterate through the components, read the code, check if it is old (in my case there is a line that indicates the version) and overwrite the code with a newer version in case there is a newer version.

Thanks,
Mostapha

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions