Is there a way to set pattern angle by selecting an element or by 2 points.
I'm not sure whether this is going to help but keyin to define the pattern angle is PA= or ACTIVE PATTERN ANGLE. This can be used outside of the Pattern Area tool but I cannot see any need to do this outside of the tool as it only allows a value to be entered. A quick search did not seem to locate any Enhancement Requests for this capability. You might like to request this via a new Service Request.
appsnet.bentley.com/.../addcall.aspx
RegardsAndrew BellTechnical SupportBentley Systems
The following thread also has some additional suggestions on retrieving and setting the active angle ( Not pattern angle ), which may be of help in at least obtaining the angle for pasting into the patterning tool settings or using the PA=<angle> keyin.
communities.bentley.com/.../288269.aspx
Regards
Carl Myhill
Technical Support Engineer
Bentley Systems
I was hoping some one may have a marco or vba for this 1
Kirk
I Wish Cadland was Reality
keyin active angle pt2 ( this is to workout Active angle from object by 2 points)
so you could then make your macro to set the active angle from element via the elect element prompt then use the active angle pt2 , then get the angle and put it into PA=AA then commands to select pattern and place pattern sounds easy but you'll have make it your self.. I always use the record to work out most of the commands..
then build it from scratch...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me
There is a very simple way to do this...
workflow:
- Activate hatch/cross hatch/pattern tool
- identify the object by giving a datapoint
- Now place the pointer on the initiate point and give <Ctrl>Tentative (or O(rigin) with the focus in the AccuDraw dialog)
- Rotate the AccuDraw compass by RQ, RA or RE aligned with the element. The PA will be set from AccuyDraws X-(red)axis.
- Accept hatch/cross hatch/pattern by a DataPoint at the initiate location.
Hope this will be of any help.
For a CR i would like the Accudraw compass automatically placed at the selected point, so you should see under witch Axis the pattern angle is placed.
Sjoerd
got a simpler macro that a kind microstation user sent me. click on the element and presto your angle is set
Answer Verified By: Kirk
why not share it here then...
Unknown said:why not share it here then...
Because it's up to the generous author to share, not to the grateful recipient.
Regards, Jon Summers LA Solutions
Jon this is true. But I have noticed all to often that in the Autocad community they share much more than the Microstation community. I think this leads some to believe that Autocad is better or easier to write code for.
sorry but in my experience the small microstation community is far willing to share macros, mdls etc especially help and assistance than when I was in acad world...where as in acad world there is more assistance from the autodesk site and more documentation.. I think the perception is because there are more sites and forums and seemingly more users for acad than mstn...
And if I get code from any generous posters offline ( Jon) being a grateful recipient I usually ask the source first if it can be shared and if not then I dont mention I got the code at all...
and If I have any code I made and want to share it or share some public domain code I mention it and ask to email me for it publicly or upload it here ...