How to add grips using python scripting

How to add grips using python scripting

tinuthomasGE9RJ
Advocate Advocate
1,329 Views
7 Replies
Message 1 of 8

How to add grips using python scripting

tinuthomasGE9RJ
Advocate
Advocate

Hai Team,

    I'm a beginner in Plant 3d parametric component creation using python, I have doubt regarding adding the grips in custom components which I created using python scripting. can anyone help me in this topic..

0 Likes
Accepted solutions (2)
1,330 Views
7 Replies
Replies (7)
Message 2 of 8

h_eger
Mentor
Mentor

Dear @tinuthomasGE9RJ ,

 

you don't need to add grips, they are hardcoded and assigned to the respective components.

-

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).

Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn

EESignature



0 Likes
Message 3 of 8

tinuthomasGE9RJ
Advocate
Advocate

Actually I need to create supports with custom scripts, also need a flexibility of stretching it! will it possible with scripting?

0 Likes
Message 4 of 8

jabowabo
Mentor
Mentor
Accepted solution

You can add stretch grips with the setLinearDimension function.

0 Likes
Message 5 of 8

tinuthomasGE9RJ
Advocate
Advocate

Thank you sir......can you share some examples of creating simple components with Rotation, moving, stretching, substitution grips etc. It will be very helpful for me to learn...

0 Likes
Message 6 of 8

jabowabo
Mentor
Mentor
Accepted solution
0 Likes
Message 7 of 8

tinuthomasGE9RJ
Advocate
Advocate

I already tried above code, can you provide any other advance level codes... 

0 Likes
Message 8 of 8

pavithra_bSSHFY
Explorer
Explorer


Sir ,
It shows access denied for refer how to assign grip for custom component using python scripting.

I am new to custom script, I am trying to load component with grip points ,please help me to assign how to add grip points for stretching, moving, rotation to custom components.
I request you to give some sample script regarding how to assign grips.

0 Likes