cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Splitting elements in the API

Anonymous
Not applicable

Is it possible to use the API to split an element into two parts by a line?
In other words, is it possible to automate a splitting operation that users can do manually with a splitting tool?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

I don't think so - these are the user editing commands supported by the API:

typedef enum {
	APIEdit_Drag					= 'DRAG',
	APIEdit_Rotate					= 'ROTZ',
	APIEdit_Mirror					= 'MIRR',
	APIEdit_Elevate					= 'ELEV',
	APIEdit_Stretch					= 'STRE',
	APIEdit_VertStretch				= 'VSTR',
	APIEdit_Resize					= 'RSIZ',
	APIEdit_General					= 'GENE',
	APIEdit_PHeightStretch			= 'PHST',					// preserved height stretch (for slanted beam / column)
	APIEdit_PDirStretch				= 'PDST'					// preserved direction stretch (for slanted beam / column)
} API_EditCmdID;

 

Ralph Wessel BArch
Central Innovation

View solution in original post

1 REPLY 1
Solution

I don't think so - these are the user editing commands supported by the API:

typedef enum {
	APIEdit_Drag					= 'DRAG',
	APIEdit_Rotate					= 'ROTZ',
	APIEdit_Mirror					= 'MIRR',
	APIEdit_Elevate					= 'ELEV',
	APIEdit_Stretch					= 'STRE',
	APIEdit_VertStretch				= 'VSTR',
	APIEdit_Resize					= 'RSIZ',
	APIEdit_General					= 'GENE',
	APIEdit_PHeightStretch			= 'PHST',					// preserved height stretch (for slanted beam / column)
	APIEdit_PDirStretch				= 'PDST'					// preserved direction stretch (for slanted beam / column)
} API_EditCmdID;

 

Ralph Wessel BArch
Central Innovation