Jump to content

Yancka

Member
  • Content Count

    136
  • Joined

  • Last visited

Everything posted by Yancka

  1. Yancka

    Custom object displaying insertion Z value

    Update: just finished conversation with my colleague and we agreed that this no-no is a yes-yes. Because height information written manually is bigger source of possible errors and causes more headache than possibly varying parameters. So forget my 2 long explanations and I'll come back with VS questions when I have them.
  2. Yancka

    Custom object displaying insertion Z value

    um... my apologies. I'll try to make it short. The long story was about overall logics of the task. On VS part you both have been very supportive. Many thanks for that! The overall process. Architectural design of project is done. Structural components are next to do. They are counted and labeled by types. Steel Beam with certain profile and length parameters is named SB-1. Steel Beam with same profile parameters but different length would have different label. I place it (SB-1) in my drawings as needed. Many times. Say, totally 107 instances. Besides each beam (or group of similar beams) I place label and a number which represents bottom Z value if that beam. Then I create detailing drawing and structural section drawings. Finally I create schedule with Label, Count, Parameters of that specific type of beams. The problem No1 with plug-ins. Architectural design of project changes. The beams SB-1 now are 1 meter longer. I have to manage parameters of 107 plug-in instances labeled SB-1 being same. The problem No2 with plug-ins. If I place 107 instances of plug-in who must have exactly same parameters of profile & length there's a possibility that a plug-in with label SB-1 has different profile or length parameter than others. There will always be a question if all SB-1 beams are really same. Therefore pure plug-in usage here is an almost definite no-no. This isn't very short again but take it as it is. Obviously these logic issues can't be described much shorter (Or I'm bad with expressing myself shortly). I think the issue about workflow I'm looking for being out of scope of capabilities of VW as a software package. In AutoCAD there are such a thing as fields which allow to display insertion information of specific block (in VW language - symbol) instance within that block and also dynamic blocks (in VW would be symbols with adjustable parameters, very close to plug-ins). This concept would allow to make it in my case. The only workaround I see is to create different plug-in for different type of beams. That would solve issue about same label beams to be with same parameters. But that would create another issue of having many different plug-ins which are built to use only for 1 project. And scheduling info would require creating common Record Format which would be used with all plug-ins as second Record Format, so the Plug-in would require making records to that one common name record format which is something I'm currently not able to do with VS. Thank you once again Miguel and Assembly for your assistance with VS! I've answered myself quite much about solution I'm looking for, while was writing these long explanations. Meantime, I see very good usage possibilities for such type of plug-ins in other parts of my workflow (slab panels).
  3. Yancka

    Custom object displaying insertion Z value

    Thx, gents! It's fun to look at it and see it working! Round 1 is complete successfully. That one missing semicolon would have caused much of trouble, since I was checking the line 5 and following lines. Good reason to learn scripting with text editor (I installed Text Wrangler). Round 2 would be getting clear with general workflow I'm after (in order to make sure if this direction is the right one at all) and Round 3 would be polishing things. The workflow I'm looking for is: 1. Create 3D item (custom steel beam) with fixed parameters (such as profile type and profile parameters, overall length). That's what symbols are for. 2. Place this 3D item in my drawing - set X, Y, Z, rotation and Text placement in plan view (done with Control Point). In Text is displayed bottom Z of specific instance, which is "Layer Z + Instance Z on that Layer". This could be reduced to having beam Layers with Z=0 and placing those beam items in appropriate height. My current plug-in does that. 3. Create worksheet with DB row showing my custom beams. Necessary columns are Beam Number, Parameters (currently the only one is length, in reality would be much more) and total number of those beams in my DLs. With my current understanding this is out of scope of what VW can handle. Creating my custom item which is going to be used repeatedly (and definitely modified many times over it's life-time) normally means creating a symbol. Having different values within text (Z) and location of the same text means creating plug-in object. Meantime having it as full plug-in leaves a major error source in same name beams being with varying parameters. Does VW allow creating Symbol/plug-in hybrid with such conditions? Is it possible to have text changing depending on symbol insertion data if plug-in is a part of symbol? Do others see other options? I thought about creating different plug-in for each beam. But what about making new project where beam numbers will be reset and beam types are going to be totally different? And how to get those many different plug-ins into 1 DB row in worksheet? I attach both, plug-in and VW file with situation I'm talking about (error possibility when plug-ins only are used). What else is confusing, the current plug-in reacts on changes in both - Z value and Height fields. Is it possible to have only one of them and keep the text being linked to beams actual height? And for Round 3 the only question today is how to get text controlpoint's initial value to be half of LineLength?
  4. Yancka

    Custom object displaying insertion Z value

    Haven't had much time to work on this, anyway I have 1 question at the moment while trying to follow your steps. Once the poly (or whatever) is drawn, how can it be used with BeginXtrd and EndXtrd if extrude's profile requires it's description between BeginXtrd and EndXtrd? At least from quick look to these procedures in VS Reference it seems so. Miguel, thanks for your comment! Currently my code with simple extrude isn't working and reports an error on Line #5: ExtrHnd :HANDLE; { Error: Identifier not declared. } and { Error: Expected ; }. What's wrong with my ExtrHnd declaration? PROCEDURE CustomExtrude; VAR ItemLength :REAL; xRot, yRot, zRot :REAL ExtrHnd :HANDLE; BEGIN ItemLength:= PLineLength; MoveTo(0,0); LineTo(ItemLength,0); BeginXtrd(0,PLineLength); Rect(500,#90,200,#0); EndXtrd; ExtrHnd:=LNewObj; xRot:=90; yRot:=90; zRot:=90; SET3DRot(ExtrHnd, xRot, yRot, zRot , 0,0,0); END; Run(CustomExtrude);
  5. Yancka

    Custom object displaying insertion Z value

    Well, finally I could get it but it was weird and works weird. I read the help at beginning and after succeeding to draw fixed line (with line function) and failing to get it stretchable I decided to look in other .vso files (strange thing with VW help on MAC - with keywords "vso" it gives no results but with ".vso" or "*vso" does). After reducing other code to drawing lines part and matching every part of my plug-in to that other I managed to have mine working as well. But it works only if Plug-in's parameter name is LineLength (originally was used by other one - working plug-in). If I rename this parameter it looses it's grips and isn't stretchable anymore. Meantime changing the value in OIP reflects also on a line. What has parameter name to do with object being stretchable or not?
  6. Yancka

    Custom object displaying insertion Z value

    Thanks Migel! That's good news! I already visited the site you mention and tried to run those scripts. For some reason I succeed to run only the basic like "Create New Layer" but all of those others in plug-in section I received an error alert. So I didn't experience the relief of seeing any successfully created custom plug-in. The way I used the code was copying it from .vss file and pasting it into new script within my resources in resource browser. May be that's wrong? And how to deal with .vso files? Quite embarrassing but I didn't find anything on .vso in VW help... and quick search in internet also doesn't bring much light. Before some time I did it (vso) but now I can't recall. Could you please post a code of simple custom plug-in here if it's not too difficult?
  7. Yancka

    Labeling items

    Is there integrated way of managing item labels? I want to create 3D items (would it be 2D/3D symbol, 3D solid or whatever), give a label to them and see this label in 3 different places: 1. schedule 2. plan view 3. section VP I've had some luck with symbols and linking text to Record Formats, but it doesn't work in sections, and the placement of label in plan view for different items can't be adjustable. Being specific - I'm trying to create construction drawings with slab panels and beams.
  8. Yancka

    Clip symbol

    Well, the regular built-in Clip command doesn't work on symbols. Is there a way of hiding some part of 2D symbol?
  9. Yancka

    Clip symbol

    It was as simple as Sheet Layer printing resolution (DPI) number. I had it 72. Btw, could it be that too low DPI causes longer VP updating time because computer needs to perform extra calculations for "bluring" the rendering as set in DPI field?
  10. Yancka

    Imprint Text

    Other option would be converting text polylines to extrudes and rotate them 3D & place as necessary.
  11. In AutoCAD Data Extraction (something similar to DB rows in VW) there is a tick-box called "combine similar" or something like that. It combines rows with identical cell values and in "Count" column displays total number of identical rows (elements). Is something like that achievable with VW? The DB row could be like "symbols whose name starts with Elem". Then in DB subrows I'd like to have something like this: Nr. V1 V2 Count 1 166 4600 7 2 120 3800 2 3 188 5500 4 Nr., value1 and value2 are something that come from elements within symbol definition (sometimes it's achievable by dividing total with count), meantime Count displays number of symbol instances within defined criteria. I know I can do this by formulas in spreadsheet but having it with DB row would be much more fun!
  12. Yancka

    Worksheets & database logics

    Frank, I dare to claim that you are the bestest person on the world! Thank you very much for this hint. This helps me a lot. I can only ask myself why I didn't notice functionality of Summarize icon before. Giving 2 min Help reading would have saved a lot of time. I can even remember me thinking "what's that Sum icon for" when using sorting icons. Probably it was too simple and I was looking for somehow more complex solution or in other direction, thus being blind to this quite simple and basic functionality.
  13. Yancka

    another worksheet question

    I'm out of luck trying to get ZCENTER work with symbols. It works with other kinds of objects (i.e. walls, extrudes). With symbols I get only XCENTER and YCENTER. Any idea of what's going on?
  14. Yancka

    X-Ref/Blocks

    Take a look at Design Layer Viewports and VW referencing. Meantime I'm not sure if it would be most efficient type of workflow to you. Otherwise use symbols (ala block references in AutoCAD).
  15. Well, then post the file pls. Another thought - does record name end with #?
  16. I think you should type enter/return where you want new text line within Edit Title Block" dialogue box.
  17. Yancka

    Clip symbol

    Thanks Peter for your input! And thanks Greg for your advise! I tried it and it works... only if I use Hidden line rendering for VP. If I use other rendering modes there appears another problem which is draw order. There are 3 logical objects: A) the white mask; B) visible part of symbol; C) graphics of DL. A must be under C, B must be under A and C must be under B. So each of them has to be at the bottom I'll consider if C under B is a must.
  18. Yancka

    Clip symbol

    Alright. I'm after integrated and convenient way of dealing with structural grid (construction axis). Besides having structural grid in plan views I'm required to display axis also in elevations and sections (look at picture 1 for required result). So, in order to avoid creating repetitious linework of same thing (which I think is the root of error), I'm hunting for something that will allow me to store geometry of axis in as few places as possible. Thus far I've looked at 3 major concepts of possible workflow for this: Nr.1 was symbol I include as annotation within VP. The problem was that I'm having axis also in 45?. That would be 8 symbols for sections/elevations plus the 1 for plan views. That makes 9 instances where I store my geometry. Better than nothing but far too much. Nr. 2 was axis number bubble as 2D/3D symbol. For having text in 3D I converted it to polyline, extruded and rotated 3D. Later I'd use variuos classes for displaying only appropriate axis in VP. This was very promising from point of view of geometry management - I'd have only 1 design layer with my axis. The problem was that in elevations with Open GL rendering the symbol was looking blur. Just made the quick pic with Open GL rendering at scale 1:100. With other renderings the result is blur anyway. If someone could advise about how to make better quality rendering, that would be great. Then I could use 3D converted/extruded/rotated text as 3D components of door and window symbols - for labeling purpose in elevations/sections. Nr. 3 is 1 design layer with axis in 2 classes and 2 VPs. 1 class is for plan view labels (text vertically only), other class is for rotated text to be used in side views. The possible errors are in placing these 2 VPs wrong together and necessity to move those 2 VPs together across my sheet layer. Currently I'm sticking with this workflow. Any thoughts on this are very welcome!
  19. Yancka

    Clip symbol

    Peter, the purpose was to hide varying portions of same symbol and in some occasions not to hide anything. I've used XCLIP with AutoCAD for references/blocks (read - for symbols in VW), so was looking to do same thing here. Nering - what do you mean with "hide part of it with a viewport"? If you meant viewport crop then that's exactly what I'm after: having 2 viewports on my sheet layer, 1st VP for typical geometry, 2nd for my symbol exclusively with adjusted crop (cause I failed to include this symbol as CLIPped annotation object). What's a pain here - if I want to move my main VP, the additional VP has to be moved together. But it takes what it takes. I saw NNA sample project Ellicot Heights done in similar manner with even 3 VPs on same sheet layer.
  20. Yancka

    ? and ?

    Thanks! Imo, for Windows quickest way is just to memorize left Alt+0178 and Alt+0179 (numbers on right side only). For VW - yes it does write symbols in text. But it doesn't allow these symbols in worksheets (copy paste of ? came as ??), nor in Units/Area/Custom where I'd like to have Area Unit Mark to be "m?".
  21. Yancka

    ? and ?

    Is there a chance to have ? and ? symbols (superscript 2 and 3) in VW?
  22. Yancka

    ArchiCAD to Vectorworks

    Haven't done this but I think the only chance is to try to export IFC out from ArchiCAD and import IFC in VW. Once I had a chat with Revit guy who claimed that there's no problem with exporting IFC with landscape from AutoCAD Civil 3D and importing it in Revit. NNA guys have always promoted IFC here. So it would be very interesting to hear how usable are data in VW after such import/export from other software. Please try it and let us know!
  23. Here's very common task for Architectural projects. Besides typical plan views with room info, the same plan views with varying info are required. I'm stuck with ceiling labels and floor cover labels. Of course, I could place simple symbols representing what I need and write info in them manually. But I'm willing to make it smart way, so that chance of error is reduced. An option Nr. 1 I tried was Space possibilities. For example, in "typical" plan view I need space Number, Name and Area. Done with ease. I have attached room finish data for use in schedules. There's and option to include also ceiling and floor labels (or "keys" if using NNA terminology) as Additional Data. This would be fine if I could use different classes for different data. Because in Ceiling Plan I'd like to have space Number, Name and "Ceiling Key" displayed only and in Floor Cover Plan would be space Number, Name and "Floor Key". With current space object I'm capable only to show or hide the whole space label with all data. Right? As an option 2 I tried (without any luck) to link any symbol or object with Space object to get "Ceiling Key" or "Floor Key" displayed. Is it possible to link any kind of object to a space object so that this linked object would display any property of space object? Or may be value of any field within Record Format which might be attached to space object? How do you deal with this kind of tasks? Thx in advance.
  24. I'm working on spaces & room finishes and having few issues. 1. Spaces for staircase. It's necessary to be with auto-boundary for 2 reasons. Nr.1 is for updating space if walls are changed. Nr.2 is for having correct perimeter in schedules (it's used in formulas to calculate area of finish materials). But for floor and ceiling the area is much less because most of the space among walls is empty (or - is filled with stair). In space schedule and plan view I need to display only area where there is floor really. How others solve this? Currently I'm making it by displaying custom area, where the value is multiplied by specified percentage which I calculate for each staircase space manually. 2. Spaces as 3D objects. If actual room where people are going to live in is upper floor, in many occasions some part of ceiling is determined by roof with slope and some part by real ceiling. In such case the ceiling area which requires some finish is higher than area of space. How do you deal with calculating ceiling finish area in such situations? 3. This is connected to previous issue. Where I live there are some specific requirements about displaying the space area for rooms which in some part are determined by roof slopes. It's required to show the value of space where it is 1.60m or higher. It is called "usable" area I think. It would mean that in case the ceiling hight in the corner is 1.00m, I'd calculate where the height is 1.60, then would draw dashed line to represent the "usable" area. On the plan and in the schedules I'd include the "usable" area but for calculating amount of room finishes materials I would use the actual area. Has VW any possibilities to calculate and display "usable" area automatically? I know AutoCAD Architecture software allows to create 3D spaces which are determined by surrounding elements such as walls, roofs and slabs. I'm not sure if it allows to do what I want, I'm just showing the direction that other softwares appear to have better solutions for this particular issue. 4. I played around with Room Schedules and reports. My current opinion is - well, does the Room Finish possibilities possessed with Space object offer anything more than would be achievable by simply attaching Record Formats to Spaces? I'm looking for solution which would allow to me to define for the Space and later retrieve automatically in the schedules following information: * total area of ceiling or walls, with or without openings included - for having sq.m. of plaster * total area of paint or other material which might be applied to the walls or ceiling * There are occasions when 2 or more varying materials are applied to same wall, I'd like to retrieve total area of each of those materials. The best I can think is to attach record formats to spaces and calculate for each space manually each material. Or, in case when certain paint is up to certain height (say, 1.50m) and the rest is covered by other paint, I'd use a field in record format to identify the height and then in schedule multiply the perimeter with this number. The upper paint would be overall height minus that number. And it still doesn't solve the question about counting openings out. How do you - others deal with getting amount of finish materials which are used unevenly (say, tiles for bathroom)?
  25. What's your practice with elements which are spreading in height over more than 1 layer? (Quick pic of design in the attachment) I have custom window/door/entrance symbol and I'm inserting it in lower layers wall. The specific wall is 2 layers heigh. So this symbol makes necessary cutout and looks fine in elevation view. I don't succeed to figure out how to make upper layer's plan view so it would look as needed in plan view but wouldn't mess up elevation & other views.

 

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.

×