Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by Hippocode

  1. 18 minutes ago, digitalcarbon said:

    @Hippocodecan you take a bunch of fittings that are symbols (part name & number) and insert into your system? so the only thing that gets adjusted is the straight lengths?

    then stretch things around in 3d like the wall tool and have everything stay connected?

    also control items like inverts? i have to have a slope


    I'm working on the ability of drag and drop accessories on MEP networks. Accessories will be a combination of a symbol and the required connectors for it to connect to the MEP network.

    There is already a basic dragging implementation where you can stretch parts of a network, but not in all situations. It will be improved though.

    When right clicking a segment you can set it's slope, also when drawing new segments. It could be it's not the complete solution you are after. You can also draw from invert, bottom or top as centerline.


    14 hours ago, Benson Shaw said:


    Extrude Along Path with hollow profile is good because path and profile are editable

    Profile is circle with center clipped out.

    Path can be planar (eg 2d polyline or other shape), or  xyz (eg NURBS)


    I find that the best method. This is also the way we create our pipes/ducts. (https://www.youtube.com/watch?v=zHELdSR75tA)

    On the OIP you can select a material, sizes and a shape to create any circle, rectangle or oval profile including thickness based on the material sizes (hollow).

  3. It depends if your symbol is supposed to by hybrid, 2D or 3D.

    If you only have 3D content you should place the text in the 3D container as well, otherwise the symbol becomes hybrid and your text is the 2D part. You can play around with it a bit.


    You do not need to copy the text from one container to another if you placed it wrong, if you just modify the layer plane or whatever it's called it's moved automatically.


  4. 33 minutes ago, Sam Jones said:

    OK, that would be nice.  Where have you seen this.  The "this" being an easy way for an end user to set up a custom configured connection between two separately created and marketed programs to seemlessly share information.  I'm sure this is the future of personal computing, but I haven't seen it or heard of it.  I would love to check out any examples you can point me to.

    Currently, VW seems to provide the most easily accessible tools for creating such a connection between CAD data and database data. Easily? No. More easily than other CAD programs?  I think so, but my familiarity is not that great.  Show me.

    I could give some examples, but I'm not here to advertise other software nor should we start such a discussion :)


    While it is possible with Vectorworks, it's not easy to say the least. I don't think the instructions are hard, but the method is, certainly for people with less computer skills. 

    I spend a lot of time in getting an ODBC connection work once and have not touched it since. It could be easier now, I can't tell.


    That being said, Don. Give it a go, you will find several resources on the web or on this forum to get you started. People will help you if you end up stuck.

    It will cost you some time, but will save you much more in the end.

    Vectorscript or Python might be scary at first, but your investment of time will be earned back big time. If that is not your thing, let someone else code it for you.


    That is what I like about this software, you can make it your own. 

  5. You should create selection sets. Remember that with the custom selection tool, you can save your custom selection as a script.

    From then on, you can just doubleclick it and it will select all objects with that specific criteria.


    I would also suggest one record for the same object type, this will make it much easier for you. You could just add one additional parameter that sets the "choice" instead of using different records for each "choice".


    Last but not least, automating the attachment of that record would also be a huge improvement. You wouldn't need to worry about objects not having it. It can be done with one of my custom tools available from 2018:




  6. Well this is how it is supposed to work and allows you to have symbols with different information based on a common type.

    Like Pat suggested, it's fairly easy to write a script to handle this. If you make it generic, it can handle any record / field type instantly and overwrite the changes to all symbols already placed in the drawing, regardless of the size of the record(s).



  7. Hi Samuel


    A symbol definition is a unique object which defines the default settings when you insert a symbol.

    If you modify the geometry of the definition, all placed symbols will update.

    If you modify records of the definition, existing symbols will not be updated.


    If you modify a symbol record field in the drawing by any way, only that instance is modified, not the definition. 

  8. Well I don't think you can use VS to connect to an external SQL server. You probably can with python or c++.

    Besides that, from what you describe getting the information you need should be fairly simple for both options, without the need of worksheets.

    If automating the SQL injection would be too much, you could at least streamline your export to match the structure you require, even with plain vectorscript.

  9. I believe it's saved into the unique "name" field which is visible close to the IFC button on the OIP. There are Get/Set functions available for that parameter.


    If not you could use VectorMEP's "Organisation - Objects" dialog to find out all available fields attached to an object, including hidden fields which could contain your ID.

  10. There is one tiny drawback, these settings are global (beyond the scope of a document) and you need to restart Vectorworks each time you modify the mapping settings.

    The settings are kept in a XML file that can be shared.

    As a precaution you can not attach hidden or parametric records for obvious reasons.


    Screenshot 2017-10-04 21.19.04.png

  11. 2 minutes ago, Art V said:

    That's fast :)


    A question, will this plugin be part of the Basic (Extension Bundle version) or the Premium (Extension+MEP) version?

    Something to consider, though I doubt it will have much impact overall given your description, for GIS Shapefiles can have only one record attached, but upon export to shapefile one can select the record to be used during export. The one thing to be very careful of in a GIS related situation is that attaching records should never replace modify/merge with existing records unless explicitly executed/approved. Usually the same record as for the existing object will be added, though its values may be different for some or all fields. It might be something to keep in mind when creating options for attaching records to avoid users selecting an option that would cause accidental changing/replacing of existing records (at least not without a warning) as I am not sure yet how your type value for parametric records would affect existing records. (I'm not a scripting person)

    The plug-in will be available in both bundles.


    Currently I verify if the record is attached, it will only be added if not yet present. Thus you should never get any collisions. Also these will be attached on object generation (before you will be able to do anything with the object).


    I have no knowledge about that GIS object. Why can you only add one record ? Seems strange :)

  12. I managed to get a simple example working, being able to map a specific record to any object type. These records would be attached on object generation so you would never need to worry about the correct additional records being attached as all is handled in the background. In theory is any object valid, including custom objects for those of you that script a bit.


    You could even take it a step further and allow to use different records on the same object type, based on parameter values. Lets say you have some sort of "type" value associated to the parametric record, we could set it up that you could define different secondary records to become attached on those occasions for your specific needs.


    To handle at least a basic mapping, this needs some additional time spent on, as we need a decent dialog to manage and store all of this in the drawing.

    I'm convinced this can be very beneficial to any workflow and have decided to add it to our 2018 release of VectorMEP. 


    I don't think your drawing would become heavy if you would add larger records to multiple object types, but then again such above interface would allow you to organize it a bit better and make specific records for each situation anyway.


  13. I manage duplication using the kObjectCreated (13) event. In there I force it to -1. Next my object reset codes loads the ID and replaces it whenever it's -1.

    On default, your object should reset after the above event is called.


    Disabling the unique name field can be done by setting an object property (35) in the object init event. Example from the SDK

        extProps->SetObjectProperty(objectID, kObjXPropDataNameDisabled, false);

  • Create New...