<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Regarding Toolkit ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055765#M14766</link>
    <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1034945"&gt;@VP_14440689&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have some &lt;A href="https://community.ptc.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055164#M14757" target="_blank"&gt;responses&lt;/A&gt; from a community expert. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.&amp;nbsp;&lt;BR /&gt;Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek N.&lt;BR /&gt;Community Moderation Team.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 05:21:39 GMT</pubDate>
    <dc:creator>vnamboodheri</dc:creator>
    <dc:date>2026-02-23T05:21:39Z</dc:date>
    <item>
      <title>Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055004#M14752</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m working with Creo 11 and trying to use the APIs &lt;STRONG&gt;ProDrawingViewDetailCreate&lt;/STRONG&gt; and &lt;STRONG&gt;ProDrawingViewPartialVisibleAreaGet&lt;/STRONG&gt;, both of which require a ref_point of type ProSelection. I’m facing consistent “bad input” errors and would appreciate any guidance from someone who has successfully implemented these.&lt;/P&gt;&lt;P&gt;Here’s what I’ve tried so far:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1: Programmatic datum point creation&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Created a datum point → Success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Used ProPointInit → Success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Converted using ProPointToGeomitem and Modelitem APIs → Success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Attempted ProSelectionAlloc() → Failed to return a valid ProSelection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Method 2: Manual selection approach&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Created a datum point&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Selected the point using ProSelection → Success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Passed this selection to ProDrawingViewDetailCreate &amp;amp; ProDrawingViewPartialVisibleAreaGet → Both failed with “bad inputs”&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Method 3: Drawing entity approach&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Created a point in the drawing using ProDtlEntityCreate&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Used ProSelectionAlloc() → Success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Passed it to ProDrawingViewDetailCreate &amp;amp; ProDrawingViewPartialVisibleAreaGet → Still getting “bad input” errors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At this point, I suspect I might be missing something about the expected reference context (model space vs drawing space selection, view ownership, or selection type).&lt;/P&gt;&lt;P&gt;Has anyone successfully passed a valid ref_point selection to these APIs in Creo 11? Any example workflow or clarification on what kind of ProSelection these functions strictly expect would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 03:59:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055004#M14752</guid>
      <dc:creator>VP_14440689</dc:creator>
      <dc:date>2026-02-16T03:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055064#M14753</link>
      <description>&lt;P&gt;Not a datum, it is just the placement/reference point&lt;/P&gt;
&lt;P&gt;set x and y with&lt;/P&gt;
&lt;P&gt;ProSelectionPoint3dSet( ProPoint3d point, ProSelection *p_prosel);&lt;BR /&gt;&lt;BR /&gt;Just my 2 Cents 🧐&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:13:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055064#M14753</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-02-16T16:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055111#M14754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion regarding using a placement/reference point with ProSelectionPoint3dSet. I tried multiple approaches based on that idea and wanted to share what I tested and the results I’m seeing.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I implemented:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;View creation&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I create a general view using ProDrawingGeneralviewCreate.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Apply display style and regenerate the view:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ProDrawingViewDisplaySet&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProDrawingViewRegenerate&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I can successfully create projected views and an isometric view from the same parent view, so the view itself is valid and visible.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Reference point using ProSelectionPoint3dSet&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I followed the suggestion to not use a datum/model entity and instead create a placement selection:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ProSelectionAlloc(NULL, NULL, &amp;amp;ref_sel)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProSelectionViewSet(general_view, &amp;amp;ref_sel)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProSelectionPoint3dSet(pick_pt, &amp;amp;ref_sel)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For the point, I tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Hard-coded sheet coordinates&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Center of the view outline&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;A user-picked point via ProMousePickGet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;All three cases:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ProSelectionAlloc → success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProSelectionViewSet → success&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProSelectionPoint3dSet → success&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Boundary creation&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I build a circular boundary using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ProArcdataInit(v1, v2, pick_pt, 0, 2*M_PI, radius, &amp;amp;circle)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;This also succeeds consistently.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Detail view creation&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Then I call:&lt;/P&gt;&lt;PRE&gt;ProDrawingViewDetailCreate(
    current_drw,
    general_view,
    ref_sel,
    &amp;amp;circle,
    view_loc,
    &amp;amp;detail_view
);&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;PRO_TK_BAD_INPUTS (-2)&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Additional attempts&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Tried both:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Hardcoded reference point&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Mouse-picked point inside the parent view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Tried placing the detail view well away from the parent view using the parent view outline.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Also attempted ProDrawingViewDetailReferenceSet with the same selection → also returns PRO_TK_BAD_INPUTS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;So at this point, I’m able to:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Create a valid selection with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;View context&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Point attached using ProSelectionPoint3dSet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Create the circular boundary&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But ProDrawingViewDetailCreate and ProDrawingViewDetailReferenceSet still report “bad inputs”.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If there’s any additional requirement for the reference point (for example, it needing to lie exactly on projected geometry or needing a model-backed selection instead of a pure view+point selection), I’d appreciate clarification.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the pointer — it helped narrow down the problem significantly.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 05:11:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055111#M14754</guid>
      <dc:creator>VP_14440689</dc:creator>
      <dc:date>2026-02-17T05:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055149#M14756</link>
      <description>&lt;P&gt;Hi, I tried it again but it didn't worked out &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried your approach of using ProSelectionPoint3dSet() to create the reference point, but in my case it didn’t work and Creo actually crashed when I proceeded with ProDrawingViewDetailCreate(). So I wanted to share what I tested and the behavior I observed.&lt;/P&gt;&lt;P&gt;I am working completely inside a drawing. First I get the current model and create a general view successfully. Then I pick an edge from the drawing view using:&lt;/P&gt;&lt;P&gt;ProSelect("edge", 1, NULL, NULL, NULL, NULL, &amp;amp;sel_array, &amp;amp;n_sel);&lt;/P&gt;&lt;P&gt;From that selection I extract the picked location using:&lt;/P&gt;&lt;P&gt;ProSelectionPoint3dGet(sel_array[0], pt);&lt;/P&gt;&lt;P&gt;This part works fine and I can log the coordinates:&lt;BR /&gt;Edge picked at -&amp;gt; X: 10.104 Y: 11.086 Z: 1.000&lt;/P&gt;&lt;P&gt;Then I get the parent view from the selection and transform the point from view space to drawing space using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ProSelectionViewGet()&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProDrawingViewTransformGet(..., PRO_B_TRUE, ...)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;ProPntTrfEval()&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After that I use the transformed point to create the circle boundary (ProArcdataInit) and that part also succeeds. My log shows:&lt;/P&gt;&lt;P&gt;[Creo Success] ProDrawingViewTransformGet&lt;BR /&gt;[Creo Success] ProPointdataInit&lt;BR /&gt;[Creo Success] Pick perimeter&lt;BR /&gt;[Creo Success] ProArcdataInit&lt;/P&gt;&lt;P&gt;Finally, I call:&lt;/P&gt;&lt;P&gt;ProDrawingViewDetailCreate(&lt;BR /&gt;current_drw,&lt;BR /&gt;general_view,&lt;BR /&gt;sel_array[0], // ref_point&lt;BR /&gt;&amp;amp;crv_data,&lt;BR /&gt;location,&lt;BR /&gt;&amp;amp;detail_view);&lt;/P&gt;&lt;P&gt;At this stage Creo becomes unstable / crashes. When I tried the alternative approach of manually creating a selection and setting a point using ProSelectionPoint3dSet(), it did not behave as a valid reference point for the detail view either.&lt;/P&gt;&lt;P&gt;So in my case, simply setting X and Y using ProSelectionPoint3dSet() on a manually allocated selection did not produce a stable ref_point for ProDrawingViewDetailCreate(). Using the actual picked selection from the drawing view seems closer to correct, but I’m still hitting a failure/crash at the detail creation step.&lt;/P&gt;&lt;P&gt;If you have a minimal working snippet where ProSelectionPoint3dSet() alone is enough for a detail view ref_point (in a drawing context), I’d really appreciate seeing how that selection is constructed and what object you allocate it against.&lt;BR /&gt;&lt;BR /&gt;here is the code&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;    // Get current model
    ProMdl current_mdl;
    ProError status = ProMdlCurrentGet(&amp;amp;current_mdl);
    if (status != PRO_TK_NO_ERROR) {
        log_info("WARNING: No model open. Please open a drawing.");
        return 0;
    }

    log_info("The Model handle is built successfully.");

    // Log model name
    ProMdlName mdl_name;
    ProMdlMdlnameGet(current_mdl, mdl_name);
    char mdl_name_str[PRO_MDLNAME_SIZE];
    ProWstringToString(mdl_name_str, mdl_name);
    log_info("The name of the model is: " + string(mdl_name_str));

    ProDrawing current_drw = (ProDrawing)current_mdl;
    ProSolid drw_solid_mdl;
    ProDrawingCurrentsolidGet(current_drw, &amp;amp;drw_solid_mdl);

    int sheet_id;
    ProDrawingCurrentSheetGet(current_drw, &amp;amp;sheet_id);



    // Bounding box for spacing
    Pro3dPnt bbox[2];
    ProSolidOutlineGet(drw_solid_mdl, bbox);

    double model_w = bbox[1][0] - bbox[0][0];
    double model_h = bbox[1][1] - bbox[0][1];

    double scale = 2.0;
    double view_w = model_w / scale;
    double view_h = model_h / scale;

    ProPoint3d general_pos{ 400.00, 500.00 };

    ProMatrix orientation = {
        {1,0,0,0},
        {0,1,0,0},
        {0,0,1,0},
        {0,0,0,1},
    };

    ProView general_view;


    status = ProDrawingGeneralviewCreate(current_drw, drw_solid_mdl, sheet_id, PRO_B_FALSE, general_pos, scale, orientation, &amp;amp;general_view);

    ProSelection* sel_array = NULL;
    int n_sel = 0;
    ProPoint3d pt;

    ProSelect("edge", 1, NULL, NULL, NULL, NULL, &amp;amp;sel_array, &amp;amp;n_sel);

    if (n_sel &amp;gt; 0)
    {
        status  = ProSelectionPoint3dGet(sel_array[0], pt);

        char buffer[200];
        sprintf(buffer, "Edge picked at -&amp;gt; X: %.3f  Y: %.3f  Z: %.3f",
            pt[0], pt[1], pt[2]);

        log_info(buffer);
        ProView view;
        status = ProSelectionViewGet(sel_array[0], &amp;amp;view);

        ProMatrix matrix;
        status = ProDrawingViewTransformGet(
            current_drw,
            view,
            PRO_B_TRUE,   // VIEW  DRAWING
            matrix);

        visit_items::CheckError(status, "ProDrawingViewTransformGet");

        ProPoint3d sheet_pt;

        ProPntTrfEval(pt, matrix, sheet_pt);
        



        ProPoint3d center_pnt;
        ProMouseButton btn;
        Pro3dPnt perimeter_pnt;
        //center_pnt[0] = pt[0];
        //center_pnt[1] = pt[1];
        //center_pnt[2] = pt[2];

        center_pnt[0] = sheet_pt[0];
        center_pnt[1] = sheet_pt[1];
        center_pnt[2] = 0.0;


        ProCurvedata crv_data;
        status = ProPointdataInit(center_pnt, &amp;amp;crv_data);
        visit_items::CheckError(status, "ProPointdataInit");

        ProDtlentitydata ent_data;
        ProDtlentity entity;

        status = ProDtlentitydataAlloc(current_drw, &amp;amp;ent_data);
        status = ProDtlentitydataCurveSet(ent_data, &amp;amp;crv_data);

        int sheet;
        //ProView view;
        ProDrawingCurrentSheetGet(current_drw, &amp;amp;sheet);
        ProDrawingBackgroundViewGet(current_drw, sheet, &amp;amp;view);
        ProDtlentitydataViewSet(ent_data, view);

        ProDtlentityCreate(current_drw, NULL, ent_data, &amp;amp;entity);
        ProDtlentityDraw(&amp;amp;entity);

        status = ProMousePickGet(PRO_ANY_BUTTON, &amp;amp;btn, perimeter_pnt);
        visit_items::CheckError(status, "Pick perimeter");

        ProVector diff;
        VectorDiff(perimeter_pnt, center_pnt, diff);
        double radius = VectorLength(diff);


        ProVector vector1 = { 1.0, 0.0, 0.0 };
        ProVector vector2 = { 0.0, 1.0, 0.0 };
        double start_angle = 0.0;
        double end_angle = 2 * M_PI;

        status = ProArcdataInit(vector1, vector2, center_pnt,
            start_angle, end_angle, radius,
            &amp;amp;crv_data);
        visit_items::CheckError(status, "ProArcdataInit");

        status = ProDtlentitydataAlloc(current_drw, &amp;amp;ent_data);
        status = ProDtlentitydataCurveSet(ent_data, &amp;amp;crv_data);

        ProDrawingCurrentSheetGet(current_drw, &amp;amp;sheet);
        ProDrawingBackgroundViewGet(current_drw, sheet, &amp;amp;view);
        ProDtlentitydataViewSet(ent_data, view);

        ProDtlentityCreate(current_drw, NULL, ent_data, &amp;amp;entity);
        ProDtlentityDraw(&amp;amp;entity);

        ProDtlentitydataFree(ent_data);


        ProView detail_view;
        ProPoint3d location = { 500, 500, 0 };
        status = ProDrawingViewDetailCreate(
            current_drw,
            view,
            sel_array[0],   // ref_point
            &amp;amp;crv_data,
            location,
            &amp;amp;detail_view);

        visit_items::CheckError(status, "ProDrawingViewDetailCreate");
        if (status != PRO_TK_NO_ERROR) {
            return 0;
           
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Feb 2026 09:23:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055149#M14756</guid>
      <dc:creator>VP_14440689</dc:creator>
      <dc:date>2026-02-17T09:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055164#M14757</link>
      <description>&lt;P&gt;The best is to understand the requirements by creating first a detail view manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some drawing functions calls it is &lt;STRONG&gt;important&lt;/STRONG&gt; that the drawing is &lt;STRONG&gt;active&lt;/STRONG&gt;. For your function calls, &amp;nbsp;the 3D model is already known by the reference view. The tricky part is to automate the view reference and the spline outline.&lt;/P&gt;
&lt;P&gt;The view reference point is used to regen the detailed view. As mentioned in the header file. The reference point must be enclosed by the spline. Maybe first create a spline in the drawing, maybe with 4 points, and check the outcome. You can try first to make the spline manually in the drawing, next read and use it in the function call.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The reference point must be a valid 3D model selection, an endpoint of on edge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the header file:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The curve_data spline is in world space, and must enclose the&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;reference point (in world space, on the parent view).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;Not sure if you can use a simple arc, because if I remember you pick an area for what you would like to see later.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;The location is just a pick point, and may need to transformed from window to drawing coordinates.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;I can’t proof everything by 100% because I’m not in front of a Creo Toolkit Session&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;Not sure if something like&amp;nbsp;&lt;A href="https://www.mechanicalexpressions.com/explore/geometric-modeling/circle-spline-approximation.pdf" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;is required.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;Next: this may required for spline setup&lt;span class="lia-unicode-emoji" title=":dizzy_face:"&gt;😵&lt;/span&gt;‍&lt;span class="lia-unicode-emoji" title=":dizzy:"&gt;💫&lt;/span&gt; see the header for more details, there are a couple of other functions as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;*/&lt;/P&gt;
&lt;P&gt;extern ProError ProDrawingViewDetailCurvedataSet (ProDrawing drawing, ProView view, ProCurvedata* curve_data);&lt;BR /&gt;/*&lt;BR /&gt;Purpose: Set spline for detail view parent&lt;/P&gt;
&lt;P&gt;Input Arguments:&lt;BR /&gt;drawing - Drawing handle&lt;BR /&gt;view - The view handle&lt;BR /&gt;curve_data - Spline data (see Notes: below)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 13:43:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055164#M14757</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-02-17T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055254#M14759</link>
      <description>&lt;P&gt;Thank you so much sir,&amp;nbsp; I will go through the document and try to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 08:22:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055254#M14759</guid>
      <dc:creator>VP_14440689</dc:creator>
      <dc:date>2026-02-18T08:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055765#M14766</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1034945"&gt;@VP_14440689&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have some &lt;A href="https://community.ptc.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055164#M14757" target="_blank"&gt;responses&lt;/A&gt; from a community expert. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.&amp;nbsp;&lt;BR /&gt;Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek N.&lt;BR /&gt;Community Moderation Team.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 05:21:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055765#M14766</guid>
      <dc:creator>vnamboodheri</dc:creator>
      <dc:date>2026-02-23T05:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Toolkit  ProDrawingViewDetailCreate and ProDrawingViewPartialVisibleAreaGet APIs cr</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055769#M14767</link>
      <description>&lt;P&gt;Hello sir,&amp;nbsp;&lt;BR /&gt;I got the source code from community post and it worked, you were right the real challenge was to get the Curvedata i.e to create the spline&lt;/P&gt;&lt;P&gt;from this code its very clear now and now I am able to deal with all those APIs who need Curedata.&lt;BR /&gt;Thank you so much for your time and help.&lt;/P&gt;&lt;P&gt;Link -&amp;nbsp;&lt;A href="https://community.ptc.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055064" target="_blank"&gt;https://community.ptc.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055064&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 06:02:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Regarding-Toolkit-ProDrawingViewDetailCreate-and/m-p/1055769#M14767</guid>
      <dc:creator>VP_14440689</dc:creator>
      <dc:date>2026-02-23T06:02:43Z</dc:date>
    </item>
  </channel>
</rss>

