Go to the source code of this file.
|
LO_RESULT | LOConnectionPointCreate (LOConnectionPointRef *connection_point, LOEntityRef entity, const LOPoint2D *point, double aperture) |
| Creates a new connection point object for the given entity at the given 2D point. More...
|
|
LO_RESULT | LOConnectionPointCreateFromPoint3D (LOConnectionPointRef *connection_point, LOSketchUpModelRef model, const LOPoint3D *point3d) |
| Creates a new connection point object for the given SketchUp model entity at the given 3D point in model space. Note that connection points created via this function will have no persistent ID assigned to them, resulting in a connection point that does not update when geometry is modified. More...
|
|
LO_RESULT | LOConnectionPointCreateFromPID (LOConnectionPointRef *connection_point, LOSketchUpModelRef model, const LOPoint3D *point3d, const char *persistent_id) |
| Creates a new connection point object for the given SketchUp model entity at the given 3D point in model space. Note that connection points created via this function have a persistent ID assigned to them, resulting in a connection point that updates when the geometry is modified. More...
|
|
LO_RESULT | LOConnectionPointRelease (LOConnectionPointRef *connection_point) |
| Releases a connection point object. The object will be invalidated if releasing the last reference. More...
|
|
Creates a new connection point object for the given entity at the given 2D point.
- Parameters
-
[out] | connection_point | The connection point object. |
[in] | entity | The entity object. |
[in] | point | The position of the connection point. |
[in] | aperture | The search radius to use when looking for geometry to connect to. |
- Returns
-
Creates a new connection point object for the given SketchUp model entity at the given 3D point in model space. Note that connection points created via this function have a persistent ID assigned to them, resulting in a connection point that updates when the geometry is modified.
- Note
- Starting in LayOut 2020.1, API 5.1, SU_ERROR_NO_DATA will be returned if persistent_id isn't valid for the given model.
- Since
- LO 2017, API 2.0
- Parameters
-
[out] | connection_point | The connection point object. |
[in] | model | The SketchUp model object. |
[in] | point3d | The 3D position of the connection point in model. |
[in] | persistent_id | The PID of the entity. |
- Returns
-
Creates a new connection point object for the given SketchUp model entity at the given 3D point in model space. Note that connection points created via this function will have no persistent ID assigned to them, resulting in a connection point that does not update when geometry is modified.
- Parameters
-
[out] | connection_point | The connection point object. |
[in] | model | The SketchUp model object. |
[in] | point3d | The 3D position of the connection point in model space. |
- Returns
-
Releases a connection point object. The object will be invalidated if releasing the last reference.
- Parameters
-
[in] | connection_point | The connection point object. |
- Returns
-