api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

C API is missing SUEntitiesAddDimension methods

Open mderond opened this issue 10 months ago • 4 comments

The C API currently offers no method to actually add a newly created dimension (linear or radial) to the entities collection.

In the Ruby API we can use add_dimension_linear and add_dimension_radial.

This functionality is not available in the C API, which makes working with dimensions impossible.

Please add SUEntitiesAddDimension methods to add newly created dimensions to the entities collection.

mderond avatar Mar 04 '25 11:03 mderond

Not completely. Those define the linear and radial dimension objects. Defining them alone is not enough, we need to add them to the entities collection to actually add them to the model. There is currently no method to do so.

mderond avatar Mar 04 '25 16:03 mderond

Logged as: SKEXT-4585

sketchup[bot] avatar Mar 10 '25 06:03 sketchup[bot]

Is there any information on if and/or when this issue will be addressed?

Some parts of certain projects I'm working on are now simply impossible to implement, because I cannot actually add dimension objects to the entities collection.

I've been looking for a workaround for some time now, but have been unable to find one. If one does exist, I'd love to hear about it!

mderond avatar Apr 17 '25 08:04 mderond