🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

I am trying to use PoI partclass api for getting scale but it is not working for any parthandle.

User: "LAKHAN MODHAVADIYA"
New Altair Community Member
Updated by LAKHAN MODHAVADIYA

        set t [clock clicks];
        hwi OpenStack;
        hwi GetSessionHandle sess$t;
        sess$t GetProjectHandle proj$t;
        proj$t GetPageHandle page$t [proj$t GetActivePage];
        page$t GetWindowHandle win$t [page$t GetActiveWindow];

       win$t GetClientHandle client$t;
       set Id_ActiveModel [client$t GetActiveModel];

       client$t GetModelHandle mod$t [client$t GetActiveModel];

       mod$t GetPartHandle part$t 2;

       part$t SetScale " 2 2 2"

       client$t Draw;

 

this code is note working for part id 2.

 

 

Find more posts tagged with

Sort by:
1 - 1 of 11