Quick section and vba

Hi everyone,

I want to create an Quick Section on a selected vertex of a line. With vba is it easy to select a line and vertex, so calculating the the beginning and the end of the section is not a problem. But how can I place this section with vba? The keyin "pointcloudadv section createquick oriblockbyaxis"  is a good one, but i can't figure it out to add the start and end of the section. Does oneone of you have an idea?

Regards, Aart

  • Hi, did anyone think of a solution to this?

    I believe it has to do with the way the acs changes to "context" after you select the first point for the section.

    I have tried using vba to automate this as well be but even if you record a vba macro whilst using the correct keyin command, the macro will not be able to repeat the command successfully as the acs changes , the command expects the second point to be relative to the start point in the "context" acs.

    Not sure how vba programmers solve this issue?

    Regards

    Chris