Change fill orientation via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2025-07-03
04:45 PM
- last edited on
‎2025-07-03
11:52 PM
by
Laszlo Nagy
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!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2025-07-04
09:39 AM
- last edited on
‎2025-07-04
11:04 PM
by
Laszlo Nagy
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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2025-07-04
09:39 AM
- last edited on
‎2025-07-04
11:04 PM
by
Laszlo Nagy
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;