Begin your Archicad journey with our free learning path - perfect for newcomers and experienced users looking to strenghten their skills.
Thursday
- last edited
Thursday
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.
Friday
- last edited
Friday
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;
Friday
- last edited
Friday
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;