I am trying to have the roundness of an auto-element in a variable. I cannot use a dimension as I have 30,000 circles and try to export all of these roudnesses via a script to a txt file.
Does anyone knows how to call the roundness of an auto-circle into a variable?
Can anyone help me out with the script? I guess I cannot write the red highlighted part as I get a syntax error.
Sub Main
Dim PCDApp, PCDPartPrograms, PCDPartProgram, PCDCommands, PCDCommand
Dim tX, tY, tZ, tRound, mX, mY, mZ, tD, mD, mRoundMax, mRoundMin, mRound, featName As String
Dim FMcd As Object
Dim cmd As Object
Set PCDApp = CreateObject("PCDLRN.Application")
Set PCDPartPrograms = PCDApp.PartPrograms
Set PCDPartProgram = PCDApp.ActivePartProgram
Set PCDCommands = PCDPartProgram.Commands
Can anyone help me out with the script? I guess I cannot write the red highlighted part as I get a syntax error.
Sub Main
Dim PCDApp, PCDPartPrograms, PCDPartProgram, PCDCommands, PCDCommand
Dim tX, tY, tZ, tRound, mX, mY, mZ, tD, mD, mRoundMax, mRoundMin, mRound, featName As String
Dim FMcd As Object
Dim cmd As Object
Set PCDApp = CreateObject("PCDLRN.Application")
Set PCDPartPrograms = PCDApp.PartPrograms
Set PCDPartProgram = PCDApp.ActivePartProgram
Set PCDCommands = PCDPartProgram.Commands