# \#c++

**URL:** https://discourse.mcneel.com/tag/c/250.md

[Latest](https://discourse.mcneel.com/latest.md) · [Categories](https://discourse.mcneel.com/categories.md) · [Tags](https://discourse.mcneel.com/tags.md)

---

## [\[C++\] how to respond to Zoom Extents for custom object bounding box](https://discourse.mcneel.com/t/c-how-to-respond-to-zoom-extents-for-custom-object-bounding-box/21176)

<div class="topic-metadata">

**Author:** [@menno](https://discourse.mcneel.com/u/menno)\
**Replies:** 8\
**Last updated:** [May 2, 2021, 5:43am UTC](https://discourse.mcneel.com/t/c-how-to-respond-to-zoom-extents-for-custom-object-bounding-box/21176 "2021-05-02T05:43:41Z")

</div>

One of the custom objects that we use has a larger “perceived” bounding box than its constituent geometry, due to part of the object being drawn in a mirrored way. I have tried to override GetBoundingBox(CRhinoView\* pVi…

---

## [Apply history](https://discourse.mcneel.com/t/apply-history/73171)

<div class="topic-metadata">

**Author:** [@gennaro](https://discourse.mcneel.com/u/gennaro)\
**Replies:** 4\
**Last updated:** [October 22, 2018, 9:03am UTC](https://discourse.mcneel.com/t/apply-history/73171 "2018-10-22T09:03:38Z")

</div>

Hi everybody, I am trying to transform an object through a CRhinoDoc::TransformObject call with AddTransformHistory set true, as some descendants in the history depends on this object. I would like to know how to force…

---

## [How to get and move vertices of mesh edges](https://discourse.mcneel.com/t/how-to-get-and-move-vertices-of-mesh-edges/71645)

<div class="topic-metadata">

**Author:** [@gennaro](https://discourse.mcneel.com/u/gennaro)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 8:41pm UTC](https://discourse.mcneel.com/t/how-to-get-and-move-vertices-of-mesh-edges/71645 "2018-09-26T20:41:26Z")

</div>

Hi everybody, I need to know hot to get and move the vertices of a selected mesh edge. Although it seems an easy task I could not get them. I made an attempt but the indices of the selected edge and the mesh topology ed…

---

## [Fastest way to know the object's groups](https://discourse.mcneel.com/t/fastest-way-to-know-the-objects-groups/71387)

<div class="topic-metadata">

**Author:** [@gennaro](https://discourse.mcneel.com/u/gennaro)\
**Replies:** 2\
**Last updated:** [September 21, 2018, 4:56pm UTC](https://discourse.mcneel.com/t/fastest-way-to-know-the-objects-groups/71387 "2018-09-21T16:56:44Z")

</div>

Hi all, do you know, given an object, which is the fastest way to get the groups it belongs to? G.

---

## [Create new CRhinoPageView and show it](https://discourse.mcneel.com/t/create-new-crhinopageview-and-show-it/71106)

<div class="topic-metadata">

**Author:** [@dsw](https://discourse.mcneel.com/u/dsw)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 5:57am UTC](https://discourse.mcneel.com/t/create-new-crhinopageview-and-show-it/71106 "2018-09-18T05:57:24Z")

</div>

Hi i’m using the method doc-\>CreateRhinoPageView(); to create a new page view. It does generate a new page view, but it is not visible. I have to switch to model and back to page view to get it visible and clickable. D…

---

## [Grips not present in a mesh duplicate](https://discourse.mcneel.com/t/grips-not-present-in-a-mesh-duplicate/70603)

<div class="topic-metadata">

**Author:** [@gennaro](https://discourse.mcneel.com/u/gennaro)\
**Replies:** 7\
**Last updated:** [September 17, 2018, 7:40pm UTC](https://discourse.mcneel.com/t/grips-not-present-in-a-mesh-duplicate/70603 "2018-09-17T19:40:47Z")

</div>

Hi everybody, I found a strange behaviour in Rhino 6. I need to pick a grip, duplicate the Owner and then pick the correspondent grip in this duplicate. I attach here an example code: CRhinoGetObject gv; gv.SetCommand…

---

## [How to find the objects close to a point](https://discourse.mcneel.com/t/how-to-find-the-objects-close-to-a-point/69920)

<div class="topic-metadata">

**Author:** [@gennaro](https://discourse.mcneel.com/u/gennaro)\
**Replies:** 1\
**Last updated:** [September 5, 2018, 8:11pm UTC](https://discourse.mcneel.com/t/how-to-find-the-objects-close-to-a-point/69920 "2018-09-05T20:11:53Z")

</div>

Hi everybody! I am looking for a way to find the closest objects to a point (with a distance under a certain threshold). I used to have something similar in Rhino 5 defining the pick\_context.m\_pick\_region.m\_xform equal…

---

## [Preview NurbsSurface in conduit](https://discourse.mcneel.com/t/preview-nurbssurface-in-conduit/68938)

<div class="topic-metadata">

**Author:** [@adl.architetto](https://discourse.mcneel.com/u/adl.architetto)\
**Replies:** 4\
**Last updated:** [August 19, 2018, 7:01am UTC](https://discourse.mcneel.com/t/preview-nurbssurface-in-conduit/68938 "2018-08-19T07:01:09Z")

</div>

Hi, i’m trying to give a preview of a nurbs surface my plugin is generating before the users presses enter to confirm the settings. In the CRhinoDisplayPipeline there is DrawNurbsSurface(const ON\_NurbsSurface &nurbs\_su…

---

## [Wrong SDK help .chm file included in Rhino 6 SDK](https://discourse.mcneel.com/t/wrong-sdk-help-chm-file-included-in-rhino-6-sdk/68934)

<div class="topic-metadata">

**Author:** [@adl.architetto](https://discourse.mcneel.com/u/adl.architetto)\
**Replies:** 2\
**Last updated:** [August 16, 2018, 7:38pm UTC](https://discourse.mcneel.com/t/wrong-sdk-help-chm-file-included-in-rhino-6-sdk/68934 "2018-08-16T19:38:30Z")

</div>

I just wanted to point out that the help file included in the rhino 6 sdk C:\\Program Files\\Rhino 6 SDK\\help\\RhinoSdkDocs.chm is for rhino 5 sdk. Where can i get the .chm file for rhino 6 SDK ?

---

## [C++ Is there a tween curve/surface function?](https://discourse.mcneel.com/t/c-is-there-a-tween-curve-surface-function/68835)

<div class="topic-metadata">

**Author:** [@adl.architetto](https://discourse.mcneel.com/u/adl.architetto)\
**Replies:** 3\
**Last updated:** [August 15, 2018, 5:29pm UTC](https://discourse.mcneel.com/t/c-is-there-a-tween-curve-surface-function/68835 "2018-08-15T17:29:15Z")

</div>

I see that there is one in RhinoCommon API, but can’t seem to find it in the c++ sdk. Am i missing something?

---

## [How to Unjoin Brep Edges in Rhino SDK using C/C++](https://discourse.mcneel.com/t/how-to-unjoin-brep-edges-in-rhino-sdk-using-c-c/67190)

<div class="topic-metadata">

**Author:** [@tempoboy8421](https://discourse.mcneel.com/u/tempoboy8421)\
**Replies:** 4\
**Last updated:** [July 19, 2018, 7:31am UTC](https://discourse.mcneel.com/t/how-to-unjoin-brep-edges-in-rhino-sdk-using-c-c/67190 "2018-07-19T07:31:55Z")

</div>

Hi, I found there is a command called UnjoinEdge in Rhino5. and I would like to achieve the same result in my C++ program. Is there a method to unjoin Brep edges in RhinoCommon SDK for C++? Can someone post a sim…

---

## [Active tab at Rhinoceros starting](https://discourse.mcneel.com/t/active-tab-at-rhinoceros-starting/62847)

<div class="topic-metadata">

**Author:** [@zer41k](https://discourse.mcneel.com/u/zer41k)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 4:47pm UTC](https://discourse.mcneel.com/t/active-tab-at-rhinoceros-starting/62847 "2018-05-31T16:47:37Z")

</div>

Hello! :blush: I’m developing plug-in using C++. The feature I’m trying to implement is: If the current session of Rhinoceros is closed with active (selected) tab “Properies” \[issue\] then after the start of new Rhin…

---

## [Rhino 6 C++ SDK Available](https://discourse.mcneel.com/t/rhino-6-c-sdk-available/38351)

<div class="topic-metadata">

**Author:** [@dale](https://discourse.mcneel.com/u/dale)\
**Replies:** 11\
**Last updated:** [January 26, 2018, 12:50pm UTC](https://discourse.mcneel.com/t/rhino-6-c-sdk-available/38351 "2018-01-26T12:50:32Z")

</div>

\[image\] Rhino 6 C++ SDK Available Your C++ plug-ins for Rhino 5 or earlier must be recompiled to run in Rhino 6. The C++ Software Developers Kit (SDK) for compiling Rhino 6 for Windows plug-ins, is now available. Now…
