Jump to content

lucioing

Member
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

1 Neutral

About lucioing

  • Rank
    Greenhorn

Personal Information

  • Occupation
    civil engineer
  • Homepage
    www.archinglabs,com
  • Hobbies
    music, photo
  • Location
    Rome

Recent Profile Visitors

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

  1. lucioing

    File log

    Here we are! Just wrote two 'tool', one for start timer, to stop it the second. When you start a new drawing/project, click on 'start' button tool (yes, you have to create a palette or add them to an existing one) and star to work. When you stop your job, click on stop button and 'mark' the timer. Of course, you can do it every time you are working to the file... I know it is far to be perfect, but it is just a begin. Hope you like it. Thanks to Pat, I want to share my little job so, any comment is welcome! thank you again, Pat and JBenghiat L. MyFileLOG_Start.txt MyFileLOG_Stop.txt
  2. lucioing

    Worksheet of PIO Fields

    Thank you, Pat! Great !!! L.
  3. lucioing

    File log

    Thank you, for your precious reply. I'll try that way! L. 😉
  4. lucioing

    File log

    I need a file log. Until someone will add this feature, I want to try to write my own file log. I mean a text file relate to the WORK file, not in general, as VW is use to write since the mincad release. But I have no idea how to start. The technical (I mean code) in not the problem at the moment. I have, first, to understand the problem, starting with a simple code: I'm thinking to write two tool script LogIN and LogOut, but I never wrote a simple txt file until now (in VScript, I mean)... Another step could be an automatic script, that run each time I open the file project... I have also tried to set a worksheet... but it doesn't works. So, as you can easily understand, I have few ideas but... confused" 😋 Thank you L.
  5. lucioing

    ExtrudeAlongPath

    Thank you Josh! I've just try this and it does works. L. PROCEDURE Prova_Porta_01; CONST {capitalized to distinguish them from variables} LOCAL_GREETING_ENGLISH = 'Hello '; LOCAL_GREETING_FRENCH = 'Bonjour '; VAR s:STRING; i:INTEGER; sp:REAL; base:REAL; altezza:REAL; SectObjectHandle:Handle; PathObjectHandle:Handle; FrameObjectHandle:Handle; PROCEDURE DrawSection(s: REAL); BEGIN ClosePoly; Poly( 0,0, 0,3, 3,3, 3,s, { coordinate assolute } -6,s, -6,0 ); SectObjectHandle:=LNewObj; END; PROCEDURE DrawPath(b: REAL; h:REAL); BEGIN {Relative;} OpenPoly; BeginPoly3D; Add3DPt(3,3,0); Add3DPt(3,3,h); Add3DPt(3+b,3,h); Add3DPt(3+b,3,0); EndPoly3D; PathObjectHandle:=LNewObj; END; PROCEDURE MakeFrame(h1, h2: HANDLE); BEGIN FrameObjectHandle := CreateCustomObjectPath('Extrude Along Path', h1, h2); <<<-------------------- END; BEGIN sp:=Ps; base:=Pb; altezza:=Ph; DrawSection(sp); DrawPath(base, altezza); MakeFrame(PathObjectHandle, SectObjectHandle); END; Run(Prova_Porta_01);
  6. lucioing

    ExtrudeAlongPath

    Maybe, something's wrong. Of course the objects created (path & sect) works fine using them in main window... The handles works fine... Thank you L. Here's the simple code: PROCEDURE Prova_Porta_01; CONST {capitalized to distinguish them from variables} VAR s:STRING; i:INTEGER; sp:REAL; base:REAL; altezza:REAL; SectObjectHandle:Handle; PathObjectHandle:Handle; FrameObjectHandle:Handle; PROCEDURE DrawSection(s: REAL); BEGIN ClosePoly; Poly( 0,0, 0,3, 3,3, 3,s, { coordinate assolute } -6,s, -6,0 ); SectObjectHandle:=LNewObj; END; PROCEDURE DrawPath(b: REAL; h:REAL); BEGIN {Relative;} OpenPoly; BeginPoly3D; Add3DPt(3,3,0); Add3DPt(3,3,h); Add3DPt(3+b,3,h); Add3DPt(3+b,3,0); EndPoly3D; PathObjectHandle:=LNewObj; END; PROCEDURE MakeFrame(h1, h2: HANDLE); BEGIN FrameObjectHandle:=CreateExtrudeAlongPath(h1,h2); END; BEGIN sp:=Ps; base:=Pb; altezza:=Ph; DrawSection(sp); DrawPath(base, altezza); MakeFrame(PathObjectHandle, SectObjectHandle); {FrameObjectHandle:=ExtrudeAlongPath(PathObjectHandle, SectObjectHandle); } it doesn't works too {Move3DObj(SectObjectHandle, 50,0,0); moving does works fine, so it's mean that the handle works Move3DObj(PathObjectHandle, 50,0,50);} END; Run(Prova_Porta_01);
  7. lucioing

    PlatformFrame

    Great Alan!!! It does works! Thank you so much! L. PS I just checked the column 'Core' over the component 'PlatformFrame'...
  8. lucioing

    PlatformFrame

    Hi Alan... Thank you for your quick reply! What does '..set your core wall location...' mean? Anyway, I'll looking for 'core location'... Thank you again L.
  9. lucioing

    PlatformFrame

    Hello! I'm in trouble with wall style and wall framer. I did set a style of my wall (ParetePlatformFrame) and I'm unable to match the interior component (PlatformFrame) to a frame generated by Wall framer. The control offset is ok... It seems that the Wall framer start to the middle axes instead of the control line, as shown by the dashed red line... You could try by yourself, deleting my wall and drawing a new. Is there a way to do that? Here's the file... Thank you L. PS Of course, I could set a Wall, with a proper offset, just for structure, but it's not what I do expect in 2017... :-)) PlatformFrame.vwx
  10. lucioing

    How to set a NEW class

    Here's the code. Thank you again! L. Procedure MyRect; Var a:real; objectName : STRING; objectHand, recordHand, wallHand : HANDLE; b: BOOLEAN; Begin NameClass('MyClass'); Rect(0,0,100,100); b:=GetCustomObjectInfo(objectName,objectHand, recordHand, wallHand); SetClass(objectHand, 'MyObj'); End; Run (MyRect);
  11. lucioing

    How to set a NEW class

    Great jbenghiat! I never though to this! Thank you so much! L.
  12. lucioing

    How to set a NEW class

    I've tryied an old plugin I wrote some years ago... If I define it as 'Point tool', it doesn't works. I've also export an object created straight in VW (2017) and it is the same! Please, let me know about... L. MyHandMadeRect_01.zip
  13. lucioing

    How to set a NEW class

    Ok, got it! It depends on the 'type' of plugin. Here's a picture. It seems that 'point obj' doesn't works correctly, as shown... L.
  14. lucioing

    How to set a NEW class

    Ok, I'm getting crazy! New installation VW2017+SP1. Nothing, it doesn't works. Here's a screenshot L.
  15. lucioing

    How to set a NEW class

    OK. I'll try! Thank you again, Pat! See you soon L.

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×