Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - userdflr

#1
Good day everyone!,

I'm creating a macro where I need the user to select the end limits of a polyline. I'm using next line of code:

FEATURE PRIMITIVE POLYLINE ANCHOR OPEN ( )

But the problem is that sometimes it creates it with Primitive status "Nominal" and sometimes as "Measured". I need it to be "Nominal" always. I have noticed that it uses the primitive status that you assigned to last feature created.

Also, when I run the macro, the usual Polyline Feature menu is not displayed, so the user is not allowed to change it himself.

Someone knows if it's actually a way to state that I want to create "Nominal" polylines all the time? The command I'm using does not allow any other options...

Thanks in advance!!

#2
Macro World / Re: Get the index of a feature
September 24, 2015, 12:11:55 PM
I figured out the way to get the index. I think I was using the wrong command according to the kind of feature that I was trying to handle. I just used a different command and that did the trick:

#Declaring needed variables
DECLARE Point1Name
DECLARE Point2Name
DECLARE var1

#Creating the lower point by anchor method and storing the name @Point1Name
FEATURE PRIMITIVE POINT ANCHOR
TREEVIEW OBJECT PROPERTIES NAME GET ( Point1Name )

#Getting the X, Y and Z coordinates from the Lower Point
TREEVIEW FEATURE INDEX GET ( $Point1Name, var1) ( $Point1Name , var1 )

Anyway, I just wanted to post it in case someone else runs into similar issue in the future.  :)

Thanks!
#3
Macro World / Get the index of a feature
September 22, 2015, 09:08:26 AM
Good day,

I´m really novice in Polyworks Macro, and I'm trying to get the index of a specific feature. I found the next command:

TREEVIEW PRIMITIVE POINT INDEX GET ( string, integer )
Description : Gets the index number of a point primitive from its name


But I cannot make it work, or maybe it's not intended to what I want to do... Here is a substract of the macro that I have so far:

#Declaring needed variables
DECLARE Point1Name
DECLARE Point2Name
DECLARE var1

#Creating the lower point by anchor method and storing the name @Point1Name
FEATURE PRIMITIVE POINT ANCHOR
TREEVIEW OBJECT PROPERTIES NAME GET ( Point1Name )

#Getting the X, Y and Z coordinates from the Lower Point
TREEVIEW PRIMITIVE POINT INDEX GET ( $Point1Name , var1 )

I'll appreciate if someone can help with this hehe...
Thank you!!
#4
Inspector / Re: Create a section along a circle?
March 11, 2015, 10:45:54 AM
Admin,

That's exactly what I was looking for. I contacted the technical support and they provided that solution.

Thanks!!
#5
Inspector / Create a section along a circle?
January 20, 2015, 01:37:11 PM
Is there a way to create a cross section around a radial shape? I mean, a cross section which is along a plane, but along a radial curve...

Thanks in advance!!
#6
Hello,

I'm a newbie Polyworks user, so I was checking out some basic trainings, and I notice that in older versions (Not sure exactly what version) there was a "Compare" Tab, which includes Data to Reference, Data to Primitive, Data to Data options... I'm using Polyworks 2014 and to create the comparison maps I have been using the option "Data Color Maps". I guess that the layout changed and they moved/renamed some commands..

1.- Is my guess (Compare -> Data to Reference    = EQUAL TO =   Data Object Deviations from Reference Object Surfaces) right?
2.- If my first guess is right, I feel that "Compare" tab had more options than the "Data Color Maps"... where are all other commands?

Thanks in advance!!

Polyworks 2014 user