Jump to content

Stefan Bender

  • Posts

  • Joined

  • Last visited


8 Neutral

1 Follower

Personal Information

  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Steve, here's the plug-in built with 27.0.1, CL 617382. Fenster CW.vwlibrary.zip Fenster CW.vwlibrary.dSYM.zip
  2. Dear developers, I have a PIO instance that has object style A. The symbol definition A as well as the style PIO (first member object of symbol A) are in class B. The object style's class is by style (gSDK->SetClassByStyle(obj, true)), but the PIO instance does not have class B but class "None" and the class pull-down menu in the OIP is dimmed. Even worse: I can't even assign the correct class to the PIO instance as ISDK->SetObjectClass(B) blocks the assignment. In function SetObjectClassWithOptionalNotification it is checked if the class is by style and if it is, the function quits so I'm stuck. So this looks like an obvious bug in VW to me. Or is there a workaround or proposed workflow for changing the class of a styled PIO instance? Btw, I can't find a function that gets or sets the class of an object style. Which class is relevant, the class of the symbol definition of the class of its PIO subobject? Thanks, Stefan Bender
  3. Yes, if the cursor hovers over a wall, the window data are recalculated based on that wall's thickness and cavities and the preview is replaced using the CallDefaultTool mechanism.
  4. According to the movie, it was reported for VW 2021, SP 2. Don't know if it existed before. I'm just going through some old bugs trying to evaluate them.
  5. Dear developers, depending on the activated snapping modes, VW displays horizontal or vertical guidelines starting at the cursor position along with the preview of the window while our window tool is in insert mode. However, as soon as the cursor is over a wall, these guidelines disappear. We noticed that VW window still does show a guideline along the wall when the cursor is over a wall so we would like to have the same behavior. How can we make the cursor display these guidelines, too? Is it some special flag or call we need to make somewhere? Or do the guidelines disappear as side effect of some SDK call? Thanks for any help, Stefan Bender
  6. Dear developers, We have these constants in MIniCadCallBacks.h st short renderWireFrame = 0; const short renderQuick = 1; const short renderSolid = 2; const short renderShadedSolid = 3; const short renderShadedNoLines = 4; const short renderFinalShaded = 5; const short renderFinalHiddenLine = 6; const short renderDashedHiddenLine = 7; const short render2DSection = 8; const short render3DSection = 9; const short renderOpenGL = 11; const short renderFastRenderWorks = 12; const short renderFastShadowRenderWorks = 13; const short renderFinalRenderWorks = 14; const short renderCustomRenderWorks = 15; const short renderOutputVRML = 16; const short renderArtisticRenderWorks = 17; const short renderSketch = 18; and according to UI we have these actual render modes: "1" = "Wireframe"; "2" = "Sketch"; "3" = "Shaded"; "4" = "Fast Renderworks"; "5" = "Final Quality Renderworks"; "6" = "Custom Renderworks"; "7" = "Artistic Renderworks"; "8" = "Hidden Line"; "9" = "Dashed Hidden line"; "10" = "Unshaded Polygon"; "11" = "Shaded Polygon"; "12" = "Shaded Polygon No Lines"; "13" = "Final Shaded Polygon"; So I wonder - What is "shaded"? renderShadedSolid or renderShadedSolidNoLines? - Which render mode constants represent "Unshaded Polygon", "Shaded Polygon" or "Shaded Polygon No Lines"? - Does render mode renderOpenGL still exist and is it working? - It seems that renderShadedNoLines does not work in symbol display controls anymore. Our previews become empty if we select this mode. Is this a known bug? Thanks for any help, Stefan Bender
  7. This not something the stair itself can control. It is up to the various duplication routines to prevent the creation of these sort of zombie objects. If you can reproduce the creation of these zombies, feel free to submit a bug report.
  8. These "duplicates" are probably duplicates of proxy objects of the stair. A proxy object is some sort of slave object of a stair on another layer. This proxy object is created if option "Include top graphic on upper floor" is checked in pane "2D Graphics". If such a proxy object is duplicated by some means (which should actually be prevented by Vectorworks), the duplicate is some sort of orphan and might show unexpected behavior.
  9. Thanks Joshua! However, for import purposes, we will need to accept more strings as the people providing the text files may not be familiar with Vectorworks.
  10. Dear developers, is there an official SDK way to get the strings for the Boolean values "True" and "False"? They might be needed for tables or for displaying them in other contexts. What is the VW rule for these strings? Are they localized, uppercase, lowercase? I think it would be helpful to have some sort of consistent behavior and /or an SDK call to get the strings. I'm asking because I just got a bug report that is related to this (a plug-in of ours is trying to import values from a text file into a VW record field and it turned out that we had not specified how boolean values need to be spelled so the plug-in identifies the strings as "true" or "false"). Thanks,
  11. >>>I believe the column has to be kListBrowserControlNumber. Thanks, that sounds interesting. I see no reason for this condition and no mention of this anywhere, but I will have a try. Too bad that this list does not have a column where we display numbers in all lines.
  12. Thanks, but.. I've seen other dialogs that seem to work where drag and drop is also enabled before the LB is actually filled with data. I tried what you proposed, but no effect. @Vlad Do you or the engineers in charge of listbrowsers have an idea what is wrong with EnableListBrowserDragAndDrop()? Drag and Drop support is considered to be an important feature in one of our new dialogs. Thanks!
  13. Dear developers, I'm trying to support drag and drop in a listbrowser control. After creating the columns in the dialog's setup handler, I call Boolean det_ddc = gSDK->SetListBrowserDragAndDropColumn( m_d, item, ind_column); Boolean enab_dd = gSDK->EnableListBrowserDragAndDrop( m_d, item, true); Item and column exist, either function return true for success so everything should be fine. Unfortunately, when I'm hovering over the column, the cursor does not become the drag and drop cursor and so I can't drag and drop anything. Has anybody an idea which undocumented things I need to do (or must not do) beside calling these functions? Which undocumented side effects of other SDK functions might have caused drag and drop to become disabled? There is no SDK function or member function of VWListBrowserControl to find out if drag and drop mode is actually switched on... Thanks for any help, Stefan Bender
  14. You could add popup choices in the initialization of your global parameter by supplying some SParametricParamChc: #define k_chc_def_tuerform 128 #define k_chc_def_anzeigeart_komplett 129 static SParametricParamChc gArrChoices[] = { { k_chc_def_tuerform, "Eckig", {kTuerformChoices, "1"} }, { k_chc_def_tuerform, "Rund", {kTuerformChoices, "2"} }, //------ { k_chc_def_anzeigeart_komplett, k_un_door_choice_anzeigeart_draufsicht, {kWindowDoorStringViewsComplex, "1"} }, { k_chc_def_anzeigeart_komplett, k_un_door_choice_anzeigeart_komplett_hybrid, {kWindowDoorStringViewsComplex, "2"} }, { k_chc_def_anzeigeart_komplett, k_un_door_choice_anzeigeart_ansicht, {kWindowDoorStringViewsComplex, "3"} }, { k_chc_def_anzeigeart_komplett, k_un_door_choice_anzeigeart_schnitt, {kWindowDoorStringViewsComplex, "4"} }, // TERMINATE { NULL, "", {0,0} } }; static SParametricParamDef gArrParameters[] = { { k_un_door_cw_tuerform, {kTuerLocalizedParameterStrings, garr_names_of_parameters[T9_DB_TUERFORM]}, "Eckig", "Eckig", kFieldPopUp, k_chc_def_tuerform }, { k_un_door_cw_anzeigeart_komplett, {kTuerLocalizedParameterStrings, garr_names_of_parameters[T9_DB_ANZEIGEART_KOMPLETT]}, "Draufsicht", "Draufsicht", kFieldPopUp, k_chc_def_anzeigeart_komplett }, // TERMINATE { "", {0,0}, "", "", EFieldStyle(0), 0 } };
  • Create New...