$objustn.CadInputQueue.SendDataPoint <<variablePoint3d>> #void SendDataPoint (Point3d, Variant, int)
how to declare a Point3d variable named "VariablePoint3d" and assign x,y,z values to this in PowerShell.
Not sure what the input needs to be but you could record a macro doing what you need and convert to VBA. That will give you the code you need.
Also, "false" is spelt incorrectly in your code sample.
AECOM Roads UK&I Digital Engineering, Design & Solutions Lead | Sector Information Management Lead
Principal Engineer – Digital
OpenRoads Designer 10.10 | MicroStation CE 10.16 | ProjectWise CE 3.4
Thank you Chris.
This question should have been posted in one of the MicroStation forums. PWPS_DAB has very limited functionality with MicroStation.
Hi Dan, I'm not sure how to move this post to Microstation forums. Any lead please.
I will look into getting this moved. It isn't a "problem", but obviously more MicroStation savvy folks would see posts like this and then more likely one or more responses.
Vinoth Joseph said:I'm not sure how to move this post to Microstation forums. Any lead please.
use More > Move tool available under your original post.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Jan, I moved this question to Microstation Forum.
Vinoth Joseph said:declare a Point3d variable named "VariablePoint3d" and assign x,y,z values to this in PowerShell
Try something like this...
Regards, Jon Summers LA Solutions
I tried as you suggested. but it throws an error.
The specified record cannot be mapped to a managed value class.
At line:1 char:1
+ CategoryInfo : OperationStopped: (:) , ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException