Hi, everyone!
I was trying to convert my custom block based equipment with PLANTPARTCONVERT. But after selecting positions for inlets/outlets and pressing Exit nothing happens. Geometry remains without any changes. Corresponding XML file has zero ports "<portCnt>0</portCnt>". Then, certainly, I couldn't use this geometry in Spec Editor.
I've tried doing this conversion on 64-bit and 32-bit machines with corresponding versions of Plant 3D.
Anybody have an advice?
Solved! Go to Solution.
Solved by agutak. Go to Solution.
Solved by Attila.Vallyon. Go to Solution.
Not sure, I just tried the same thing and it works ok. I just did a cylinder, made it a block, did the convert, added two ports to the end and get the following in the xml file
<?xml version="1.0" encoding="utf-8"?>
<BlockInfoCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<blockInfoList>
<block>
<name>1</name>
<portCnt>2</portCnt>
<imageName>001.dwg_1.png</imageName>
</block>
</blockInfoList>
</BlockInfoCollection>
can you post your block here?
<?xml version="1.0" encoding="utf-8"?>
<BlockInfoCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<blockInfoList>
<block>
<name>ZM</name>
<portCnt>0</portCnt>
<imageName>ZM80.dwg_ZM.png</imageName>
</block>
</blockInfoList>
</BlockInfoCollection>
and the CAD file?
works fine as far as i can tell
<?xml version="1.0" encoding="utf-8"?>
<BlockInfoCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<blockInfoList>
<block>
<name>1</name>
<portCnt>2</portCnt>
<imageName>001.dwg_1.png</imageName>
</block>
<block>
<name>ZM</name>
<portCnt>2</portCnt>
<imageName>001.dwg_ZM.png</imageName>
</block>
</blockInfoList>
</BlockInfoCollection>
can you try in another new project?
I created a new project in another location (\My documents\Project 1), then imported this block to a project drawing and used plantpartconvert. Still nothing.
Then I tried to use plantpartconvert in the same file - nothing.
All these operations I did under Administrator.
Any suggestion?
My computer:
Operating system Windows 8 Pro x64
Plant 3D x64
CPU Intel Core i7 990X
RAM 24 GB
Video NVIDIA Geforce 560Ti
SSD 240 GB
I would maybe try going back to basics, explode the block to its basic elements again, recreate the block, then try again.
I'm just wondering if there is a circular block reference that is stopping the conversion?
This valve is saved from Inventor and can't be exploded to basic elements. If it will help I can send all inventor files.
Ah ok, as far as I can tell, it works fine here. I have 2014 P3D x64 installed, and I just created a new blank project, then a new piping model, inserted your block (and then exploded it, so i didn't have nested blocks) and then did the plantpartconvert command.
I used EXPLODE command and got "could not be exploded". Where am I wrong?
Is it still named as a block now? if not, make it a block
so now try the PLANTPARTCONVERT
I tried the PLANTPARTCONVERT - nothing.
But I can't explode the block and then create a new one, as you suggest, because I'm getting "could not explode".
And additionaly after applying the PLANTPARTCONVERT I got in command line:
Specify port location:
Modeling Operation Error:
Length negative or zero.
Modeling Operation Error:
Length negative or zero.
But I did all the same as in previous Plant 2012, 2013
After playing with all this I finally exploded it into pieces, created a new block as was suggested and tried the PLANTPARTCONVERT. But I haven't got any good results from it, the problem remains the same. There are no connection ports in my model after PLANTPARTCONVERT...
just as a test, if you draw a cylinder, make it a block, then do plantpartconvert, does that work?
I've just reinstalled Plant 3D.
Even with a simple cylinder I have zero conection ports!
I can put this cylinder into Spec Editor, but with zero ports
Hmmm, well that ain't right is it.
Did you do a repair and a full reinstall? Does it work if someone else logs onto that machine? Your Windows profile might be corrupted?
I made a full reinstall.
I've tried to make conversion on two different machines with x32 and x64 under administrator and user on both. So the problem isn't here.