![]() ![]() Peut-être que ce "Plugins bundle" répondra à votre question sur la sélection d'objets Plant 3D depuis une propriétés.Ĭomme le signale il n'est pas possible de récupérer la propriété "SpoolNumber" via AutoLISP. Refer to the AutoLISP "WCMATCH" command for more details.įor more clarity on this "plugins" here is a screencast # to replace a numeric to replace a text value In the value it is possible to use wildcards like (AP3D_ObtPropriete "spoolnumber" "123456")įor diameters in Anglo-Saxon notation, note the value of the diameter like this: (AP3D_ObtProperty "PropertyName" "SoughtValue")įor example: The property "SpoolNumber" and a value "123456" will be written Once "AP3D_ObtenirPropriete.bundle" is installed, the command syntax is In this "PlugIns" there are AutoLISP and VB DontNet source files. The download link for the "Plugins" "AP3D_ObtenirPropriete.bundle" is At the end, if the request was successful, a selection of Plant 3D objects is saved. On the other hand, a DotNet engine which processes this request and returns the result. In this "Plugins bundle" there is on one side an AutoLISP program which transmits to a DotNet program the property to be searched for as well as its value in a selection of objects. You have to go through a DLL program.Īlso I created an engine DLL, which through an AutoLISP program retrieves a value from a property. Maybe this "Plugins bundle" will answer your question about selecting Plant 3D objects from a property.Īs points out it is not possible to retrieve the "SpoolNumber" property via AutoLISP. (setq itemProp (vlax-get-property vlaObj selProp))ĭoes anybody know of a way to read the spool number of an object from a LISP? Or any workarounds you could think of to help achieve this? (if (vlax-property-available-p vlaObj selProp) c:P3dFindByProp ( / selPick selAll selProp itemProp) I did find an excellent code below that can actually find some of the Plant3D specific properties of an object but Spool Number is not included unfortunately. ![]() For example, Plant3D not letting you export only a selection to PCF (we have a workaround for this part), and the fact that "select connected spool" in the right-click menu is not a command that can be called into a LISP and I cannot find anyway to read the Spool number of an object from a LISP. We looked into other possibilities like creating a second LISP that could ask the user to select an item, and the routine would automatically select items with the same spool number and then export a PCF file so it could be used later on when plotting the spool dwg but ran into a few issues with this logic. Our issue now is that we want to do the same thing with spools, but Plant3D only creates PCF files of an entire line number. We have written a LISP routine to paste a 3D model snip on the isometric of that line number by utilizing the PCF file Plant3D creates when dropping a production iso. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |