cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Emkave
Enthusiast

Change fill orientation via API

Emkave_1-1751553894905.png

 

 

Hello guys! I need an assistance! Do you know if there is a way to change the fill orientation via the API? I'd be glad to receive your sollutions! Thank you!

1 Solution

Accepted Solutions
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi, I'd suggest you try to change the parameter of cutFillOrientation in following data with ACAPI_Attribute_Modify():

HTH.

 

 

 typedef struct {
        API_Attr_Head             head;
        GS::UniString             *id;
        GS::UniString             *manufacturer;
        GS::UniString             *description;
        Int32                     connPriority;
        API_AttributeIndex        cutFill;
        short                     cutFillPen;
        short                     cutFillBackgroundPen;
        API_AttributeIndex        cutMaterial;
        API_FillOrientationID     cutFillOrientation;
        Int32                     filler_0;
        double                    thermalConductivity;
        double                    density;
        double                    heatCapacity;
        double                    embodiedEnergy;
        double                    embodiedCarbon;
        bool                      showUncutLines;
        bool                      doNotParticipateInCollDet;
        bool                      filler_1[6];
    } API_BuildingMaterialType;

Go to post

1 Reply 1
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi, I'd suggest you try to change the parameter of cutFillOrientation in following data with ACAPI_Attribute_Modify():

HTH.

 

 

 typedef struct {
        API_Attr_Head             head;
        GS::UniString             *id;
        GS::UniString             *manufacturer;
        GS::UniString             *description;
        Int32                     connPriority;
        API_AttributeIndex        cutFill;
        short                     cutFillPen;
        short                     cutFillBackgroundPen;
        API_AttributeIndex        cutMaterial;
        API_FillOrientationID     cutFillOrientation;
        Int32                     filler_0;
        double                    thermalConductivity;
        double                    density;
        double                    heatCapacity;
        double                    embodiedEnergy;
        double                    embodiedCarbon;
        bool                      showUncutLines;
        bool                      doNotParticipateInCollDet;
        bool                      filler_1[6];
    } API_BuildingMaterialType;

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!