Jump to content

David O

Member
  • Posts

    52
  • Joined

  • Last visited

Reputation

3 Neutral

Personal Information

  • Location
    Brazil

Contact Info

  • Skype
    david-cadtec

Recent Profile Visitors

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

  1. Hi Pat. i'm referring here doing this inside VScript. Is this something possible ? (I'm sorry but i think i was not clear when i asked ... )
  2. Is there any way to access the front or right component of a hybrid symbol ? More specifically i need to create a 2D circle inside the Front component of a hybrid symmbol/... Tks !
  3. Thank you for your prompt reply Pat. Well ... that's a shame... it's so easy (and fast) to duplicate either a design and sheet layer inside the software... it would really help having something equally easily available inside VS ... it would save a lot of time. But anyways, let's face the situation and implement with the tools we have at hand. Thanks !
  4. Does anyone had tried here to implement with VS a duplication of a sheet layer... other than creating a New Layer (using CreateLayer function) and then transfer the elements and settings of the reference sheet layer into it ? And in case that's the way to go, if there's a more global way of transfering all the properties of the layer reference into the new one ... ?
  5. Hi @MullinRJ No... i'm using 2023 SP3 (need to update my signature... sorry... ;-/ I found out here what happens ... the issue was that i'm trying to use this TrackObject procedure in a Tool script ... Moved the code to a command (vsm...) and it started working fine ... Thank you and @Pat Stanford for the inputs and suggestions anyways ! In fact: many of the tips and comments you guys wrote in this post here are always of great help ! Cheers !
  6. Hello Raymond ! Thanks for your example code and suggestion ... Yes, this usage of GetPt... as @Pat Stanford recommended will operate fine in 2D... not in 3D as i need in my tool... Your code is operating fine but only in 2D ...
  7. Hi @Pat Stanford Thank you for your advise ... I tried to call GetPt before calling ForEachObjectAtPoint() ... did not work ... and GetPt3D() also did not work ... Any hints ? Thanks
  8. Hello everyone ! I tried either TrackObject() and TrackObjectN() - with level at 0, or 1, and 2 Trying to interact (or select) only with Pio objets which are inside a Wall... Or at least recognize objects inserted inside Walls... Thanks.
  9. Hello Does anyone knows how to reliably extract measures from a Solid (say, type 84 or alike) ? Get3DInfo() will return data that varies on the rotation of the solid ... For example, i need to extract the projected area, and the perimeter (projected on the ground plane) as well as the thickness...
  10. Answering I'm using CallTool (-313) to call 3D Polygon to draw the path ... inside the tool. And it works perfectly ... except of the fact it displace things when the layer has an elevation as mentioned ... Tsk
  11. Follows attach a .vst which has just a part of the function i use in my plug-in to apply the Path Extrude I'm attaching also a .vwx that shows the behavior mentioned... To reproduce: After loading the vst in there interface... - Open the document, execute the tool and draw a path on the top of the extruded polygon ... The tool applied profile in a path extrude modeled without problems... Delete the path extrude model - Change the layer to "Level 1" (which is 300cm above Level 0) Execute the tool again... and draw the path again using the same reference points over the extruded polygon See the result Border Aplication TEST File.vwx Aplic Perfis TST.vst
  12. Hello VS folks ! Sometime ago i implemented a tool (vst) that applied a path extrusion using some profile libraries for a customer... Using: createcustomobjectpath('Extrude Along Path', hNURBsPath, hperfil); And the result is perfect ! However, we found a weird behavior happening when we try to use this tool in a layer with an elevation different then zero. When i try to use the tool in any layer with elevation different then zero, the resulted path extrusion follows a completely different path. Trying to fix this behavior i tried to use SetLayerElevation(ActLayer, 0.00, 0.00); Before the call to createcustomobjectpath('Extrude Along Path', hNURBsPath, hperfil); It fixes the problem ... however, only if i leave the elevation of the layer at 0.00 If i try to call SetLayerElevation() to restablish the original elevation (after the call to createcustomobjectpath()) the result is an incorrect path again... Any ideas ?
  13. Yes, in my case i do need to have the levels of the top and bottom references defined in the style. But i could not find how to define these controls (mainly the top and bottom offsets ...) for the Wall style. Simply , the possibility to have the top offset defined would be enough for me ... And still think that, if it's there in the Wall Style Dialog Window, the parameters should somehow be accessible from VScript... Gonna have a try using the components in the style. Thanks !
  14. Hi Julian This function (SetWallOverallHeights) will operate only directly with Walls. But not with WallStyles ... What i need is to create a WallStyle and it has adjustments in thickness as well as in its height... Could adjust the thickness using SetObjectVariableReal(hwallStyle,1177,thick) But simply could not find a function (or a selector...) to define this parameter... Thanks
  15. Hello VS folks Is there a way to define the height sets in a Wall Style... I can use the object selector 1177 to define thickness ... (SetObjectVariableReal(hwallStyle,1177,thick); but could not define the selector for the height sets ... Thanks for any ideas !
×
×
  • Create New...