Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sam Jones

NumCustomObjectChoices(pioName, pParamName)

Recommended Posts

It seems that I am unable to get "NumCustomObjectChoices(pioName, pParamName)” to yield anything but “0” When it queries a dynamically loaded dropdown.  

The “AP Multicable” plug-in object has a “Break Out Type” field that is loaded from an XML.  There are AP Multicables on the drawing and the Preferences OIP shows all the choices, but NumCustomObjectChoices('AP Multicable', PBreak_Out_Type) yields “0”.


The function description says to use the PForm of the parameter as I do above, but I have also tried it with “ Break Out Type” with the same result.  The function is used in a selection procedure and not in an object.  What am I doing wrong, or am I just screwed?


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.