Jump to content

Nikolay Zhelyazkov

Vectorworks, Inc Employee
  • Posts

    1,913
  • Joined

  • Last visited

Posts posted by Nikolay Zhelyazkov

  1. 14 hours ago, line-weight said:

     

    Normally when I duplicate them, the data gets updated. Today this did not seem to be happening, and I assumed it was because I'd made them not active (because ticking the box fixed it). But maybe it is unrelated.

    - It is currently working when it is active as the TBB gets reset to update the Total Number of Sheets and Page Number fields. The side effect of this is that the Sheet Number and Title get updated too.

    • Like 1
  2. 19 minutes ago, line-weight said:

     

    Have come across a small issue. My drawing register is set up, as per @Nikolay Zhelyazkov's suggestion above, so that only title blocks where I've ticked "activate title block" are included in the register.

     

    That's fine - I can have various drawing sheets that are works-in-progress and choose not to have them included in the register until they are actually ready to be issued.

     

    However, if I duplicate an existing sheet layer, which has that box unticked, then the new sheet layer is given a new sheet number, but that number is not reflected in its title block.

     

    So for example I have sheet number 250, and duplicate it, and VW automatically numbers the duplicated version 251 (which is what I want) but sheet 251's title block still has 250 as its sheet number. I have to tick and then untick the "activate title block" box in order to get it to display the correct number.

     

    Is this intended behaviour?

    - The Sheet Number/Title coordination is not related to the active state of the TBB. If you just move the TBB to get it to reset it will correctly update its sheet data.

    So you have found a bug that on layer duplicate the TBBs do not get reset and therefore do not get their sheet data updated. I will log a bug about this and will work on a fix.

     

    Best Regards,

    Nikolay Zhelyazkov

    • Like 1
  3. Sorry for the delay, missed the notification for your answer. I checked your file and there are no issues there. Try this.

     

    1) Open TBManager

    2) Optionally, select which sheets to edit

    3) Go to Issue Data pane and click on Add and enter the Issue data

    4) Go to Project Revision History pane and make sure you have selected to create/update this report

    5) Close the manager with OK

    6) Find the worksheet in the resource manager and notice how there is 1 issue added in it as the last column with the data that you have entered + some of the rows have a revision number - the current revision for that issue of the sheet

    • Like 1
  4. @Helga Heins so to me it seems like the Project Revision History should give you the results you want. As I said, this report reports on Issue Data and the Current Revision Number for each Issue, so in order to have anything in it you should first create Issues and then create Revisions. If you can share a test file or PM me the actual file I can check to confirm if you have Issues or not.

  5. 6 minutes ago, spettitt said:

    Thanks for this @Nikolay Zhelyazkov

     

    Adding that line does indeed give me the parent device, but did then affect the sockets getting their self UUID.

    image.thumb.png.b1f1e4e66ef39df120f7f79899ba3e10.png

     

    However then a follow-up script just to write the socket self UUID got me the full house.

     

    For what it's for, I don't mind two scripts, so this is great. Thank you.

     

    Did you put my script in your old script? My change was just 1 line in your old script but I added the whole function for context.

  6. Hello all,

     

    In VW 2024 we have added the ability to display all TBB parameters and records in the OIP. If the Sheet Data.Scale field is added then the Update Scale button is added too. So I think that this thread is resolved there.

     

    Best Regards,

    Nikolay Zhelyazkov

  7. Hello @spettitt,

     

    The problem is that each time you run your script you delete the records from the sockets and attach them again and this resets the mapping. After a consultation with the IFC/Data Manager experts it turned out that you can avoid the data mapping reset using this:

     

    def SockRecord(h):
        vs.Record(h, 'SktUUID')
        vs.SetRFieldOpt(h, 'SktUUID', 'Dev', True, True)
        vs.ResetObject(h)
        vs.SetObjectVariableBoolean(h, 1167, True)

     

    Once you change your script like this and fix the mapping for the already existing sockets you should be fine.

     

    Best Regards,

    Nikolay Zhelyazkov

  8. Hello @spettitt, @Pat Stanford,

     

    The reason why this is not working is that it is being executed when the PIO gets copied from the profile group of the data tag to the drawing. But at this step the PIO is just copied and it is not in the drawing. It gets added at a later step and that is why at this time it does not have a parent. I do not think that there is any way to get this done with such a PIO as it will not get notified when it gets inserted in the drawing -> you cannot really get its parent. So yes, maybe the way to go is with a tag like object and associations.

     

    Best Regards,

    Nikolay Zhelyazkov

  9. 15 hours ago, bguthrie said:

    Forgive me if this is obvious as I am new here... but is there a method to wrap device connector numbering on the left and right? If I have a 48 port switch and I want the numbering to not be all down one side of the device, can I have the even on one side, and odd on the other?

    Hello @bguthrie,

     

    You can double click to edit your device and move the sockets as you wish. Additionally, if you are using the Device Builder you can set up the socket positions from there.

     

    Let me know if you need any additional info.

     

    Best Regards,

    Nikolay Zhelyazkov

  10. Hello @Tom W.,

     

    Firstly, this should be happening with all graphics, not just rounded rectangles. I suppose that in the other 2 cases mentioned above your text objects have Left alignment selected and not Center, as it is in the rounded rectangle tag.

     

    I think that you have found a bug here caused by the U4 updates to the constraints system. I will log a VB about it and work on its fix.

     

    Sorry for the inconvenience!

     

    Best Regards,

    Nikolay Zhelyazkov

    • Like 2
  11. 5 minutes ago, Thomas R said:

    Hello Nicoley,

     

    Has the problem been fixed with the latest update? 
    Thank you very much and habe a nice day.

     

    Best Thomas

    - Hello Thomas, it was a bit too late for U4 for this fix, but it should be in the next update. 🙂 

  12. Hello @Brian Nitz,

     

    For the connector name you can make a database worksheet with sockets and list their connectors. To filter out only the connected sockets you can use the Connections Count parameter of the sockets as an additional criteria. For the connector description, there is currently no automatic way to extract this data.

     

    Best Regards,

    Nikolay Zhelyazkov

  13. 15 minutes ago, line-weight said:

    I see. I guess I'd assumed the "most recent issue" data would be stored at file level rather than being contained in individual TBBs. Does VW have to look through every TBB in the file to work out what's the latest issue date?

    Yes, this data is stored in the document but the Latest Issue custom link formula is reading the data of the object.

  14. 1 minute ago, line-weight said:

     

    Thanks. I've tried these three

     

    Screenshot2024-03-29at09_34_15.jpg.566800ae731cd1860f1d47642f30da19.jpg

     

    The first one pulls through a date, but it's the date that I set as the issue date of the sheet the drawing register's on.

     

    I suppose that will work as long as I include the drawing register in each issue I make, but ideally I'd like it to pull the same data that the drawing issue worksheet pulls.

     

    - ohh, okay got it, this means that this linked text could be reading data from other TBBs, which is currently not possible. You can set up a project data field for this that you will have to manually update, but then the data will be visible in all TBBs.

  15. 8 hours ago, line-weight said:

    I have a slightly side question:

     

    I am making a special title block border for the sheet that I will put my drawing register on.

     

    Can I make that title block automatically report the date of the latest drawing issue?

     

    Can one of these options for linked text do that?

     

    Screenshot2024-03-28at23_21_07.jpg.45b12033e1de7b53a9a6eade744c2317.jpg

     

     

    It's the date in the red circle I'm after (this is a sreenshot of the drawing register):

     

    Screenshot2024-03-28at23_23_10.jpg.eeaa1d151bdc5812c82b1a990162e1f3.jpg

    - Yes, this can be done with the custom linked text options. You should have Latest Date as an option there, when you edit the TBB layout and select a text object.

    • Like 1
  16. 15 hours ago, Luxedavid said:

    I really was hoping he would have covered creating a custom from scratch title block rather than selecting one that's close-ish to a desired look, then bastardizing the layout to steal the pieces you need. Is that my only option to creating a completely custom layout? I understand that it's outdated, but the practice in the first vectorworks tutorial I shared was exactly what I was looking for.

    - You can easily create new custom title block starting from an unstyled one. Just enter its layout and start inserting graphical and text objects. You can then make your text objects linked/dynamic from the OIP and they will display data from the TBB. If you need additional fields you can add them from the Manage Project/Sheet data dialogs in the TBB Settings dialog.

  17. 37 minutes ago, Luxedavid said:

    I'm about to pull my hair out here on the last step of creating my title block.. I've created a custom title block and followed Vectorworks' youtube tutorial 5 or 6 times now and get stuck when I go to actually select my style in a new doc, spotlight does not see it. Started by creating a new doc, set layer scale 1:1, then my page size US Arch D. Threw in some shapes and text. Grabbed it all and made a symbol. Then created a new records format and got everything linked there. Opened up the vectoworks>Lib>Def>TB> Standard Title Block.vwx, dropped my title block in and saved it. But, when I open a project, create a sheet and add a title block, I go to change the style and only the 6 default TB's that were in the Standard Title Block project show up in my picker. I've saved multiple in there but none show up for me to select. What step am I missing?

    - Which version of Vectorworks are you using? Which tutorial were you following? Can you share a screen recording, screenshot or test file showing the issue?

  18. 5 hours ago, Florane said:

    So I kind of have what I want if I do an issue each time I also do a revision, it gives me a nice worksheet the way I want it.

    The only problem is that the first column shows dots instead of letters, and that because of that everything is moved ... So sheet 001 should be REV B, sheet 005 Should be up to REV B as well ... it's moved them all ! Any idea why ? 

    image.thumb.png.28bcc92c69f5e6d0c33398106cc58747.png

    Hello @Florane,

     

    The Issues are always sorted so that the newest issue comes first and then come the rest. So if you add a new issue it will shift all the rest to the right and that might be why your report is shifted.

     

    Best Regards,

    Nikolay Zhelyazkov

×
×
  • Create New...