Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uable to run macro validate rules civil 3D 2015

22 REPLIES 22
Reply
Message 1 of 23
dkaven
3145 Views, 22 Replies

Uable to run macro validate rules civil 3D 2015

I keep getting this error message popping up in the event viewer, unable to run macro: validate rules for my pipe network rules in Civil 3D 2015.

 

So what I did was copied the C3DPipeNetworkRules.dll from 2014 and pasted it into the ProgramData\Autodesk\C3D 2015\enu in 2015. I first backed up the original 2015 beforehand.

 

 

Question and I add this to my deployment?

Thanks,

Please let me know if you have any questions,



 

Thanks,
Danny Kaven
22 REPLIES 22
Message 2 of 23
AlmasSuljevic
in reply to: dkaven

One reason for this error Unable to run Macro: ValidateRule is the use of a drawing with pipes that was started in an older version of Civil 3D and opened in a newer version of the program (likely in your case). That warning is pretty generic and it could mean many things.

If the issue is due to an older drawing opened in a newer version of Civil 3D it may be necessary to delete the rules and add them again in the current program version. Please see this for some other reported solutions.

 

 



Almas Suljevic
Product Support Specialist
Autodesk Global Subscription and Support
Autodesk, Inc.

Please click on "Accept as Solution" if post helped you resolve the issue.
Message 3 of 23
dkaven
in reply to: AlmasSuljevic

Yes, that's what I thought and know also. So I started with new rules and had the same out come. 

P.S. my Rule are .NET also and still have the problem.

 

Thanks,
Danny Kaven
Message 4 of 23
rkmcswain
in reply to: AlmasSuljevic

AlmasSuljevic wrote:

One reason for this error Unable to run Macro: ValidateRule is the use of a drawing with pipes that was started in an older version of Civil 3D and opened in a newer version of the program (likely in your case). That warning is pretty generic and it could mean many things.

If the issue is due to an older drawing opened in a newer version of Civil 3D it may be necessary to delete the rules and add them again in the current program version. Please see this for some other reported solutions.

 

 

@AlmasSuljevic 

 

We have the same problem here in 2015.

 

  • Audit did nothing.
  • Why are these labeled as a "troubled style"? These same styles (and the rule) have been working fine in several previous versions. Are you suggesting that we have to delete and recreate every structure style and rule? Surely this is not the solution.
  • Upgrading the pipe rules to .NET did nothing.

Please consult with the C3D guys if needed and see if there is a real solution.

Currently, the sump depths are not being set as the rule is configured, which means an extra

manual step has to be taken for each structure.

 

To reinterate; these styles/rule have been working fine in several previous versions of Civil 3D,

this error just now started in 2015

 

2015error.png

 

 Thanks.

 

 

R.K. McSwain     | CADpanacea | on twitter
Message 5 of 23
hogander
in reply to: rkmcswain

We are having the same problem in our company template. It seems like this is a bug in 2015 that kind of "infects" the file making it impossible to create or edit a structure rule with the correct parameters. When creating or editing a rule you get a incomplete set of parameters because you´re missing the "Control Sump By" which leads to the error in question.

sump_error.png

If you start a new drawing from scratch and create a new rule you get the complete picture:

sump_complete.png

 

So, how do we fix this? If you, in the start-from-scratch-drawing, recreate all your rules giving them the exact same name as in your original drawing, then dragging them there choosing the Overwrite option, you will end up with a complete set of rules. The best part is that all of your Parts Lists are still intact referencing the new version of your rules.

 

/Thomas

Message 6 of 23
jmayo-EE
in reply to: rkmcswain

Any new news on this? I seem to have the same issue. Rule set for 0' sump and everyone strc has a 2' sump when placed.

John Mayo

EESignature

Message 7 of 23
rkmcswain
in reply to: jmayo-EE

The fix is to copy this file from a 2014 install into the 2015 location.

"C:\ProgramData\Autodesk\C3D 2015\enu\C3DPipeNetworkRules.dll"






R.K. McSwain     | CADpanacea | on twitter
Message 8 of 23
jmayo-EE
in reply to: rkmcswain

Yeah I tried this fix in Nov and yesterday. Still no luck for us. .Net 4.52 is  installed.

John Mayo

EESignature

Message 9 of 23
rkmcswain
in reply to: jmayo-EE

Well, that bites....

This is the fix I've been using on all of our users with C3D 2015 SP2 - and it works fine here.

I wonder what the difference is....?

R.K. McSwain     | CADpanacea | on twitter
Message 10 of 23
jmayo-EE
in reply to: rkmcswain

Not sure. I have a network shared catalog but I bet you and most others do as well.

 

I can try a repair of .net and I can try to rebuild the rules with the new dll when I get a chance.

John Mayo

EESignature

Message 11 of 23
vlsheehan
in reply to: jmayo-EE

Any news on this fix? I copied C3DPipeNetworkRules.dll from 2014 and it now works but there should be an update. Hopefully in SP3.

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

Message 12 of 23
MehwashAbbas-WPM
in reply to: hogander

Thank you very much. This solution worked for us.

Message 13 of 23
jmayo-EE
in reply to: MehwashAbbas-WPM

Just to keep everyone informed there is a similar post here that lets you know that if you appy a service pack you may need to fix this issue a second or third time. Check your rules after appling service packs.

John Mayo

EESignature

Message 14 of 23
Jay_B
in reply to: hogander

Just had this happen in 2016 SP 2 and tried the 2014 .dll file to no avail.

 

The fix posted by @hogander fixed the troubled dwg file.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 15 of 23
Ronczez
in reply to: Jay_B

In C3D 2016 I encounter similar problem when use custom pipes & structures catalog made for C3D 2011. I tried to change C3DPipeNetworkRules.dll from earlier versions and from troubleshoting www 

 

https://knowledge.autodesk.com/support/autocad-civil-3d/troubleshooting/caas/sfdcarticles/sfdcarticl...

 

It is not a solution for my case :(.

 

I will be appreciate for any help.

Message 16 of 23
CADmgrMike
in reply to: Jay_B

Same problem here.

Using C3D 2016 SP2 with Windows 10.

When I create a pipe network, even with a surface, all my pipes are below 0.

Mike Porter
https://provostandpritchard.com/
Message 17 of 23
rkmcswain
in reply to: CADmgrMike

The problem I am aware of is not that [the pipes are below 0.0], it's that [the sump depth does not get set correctly during structure creation].

R.K. McSwain     | CADpanacea | on twitter
Message 18 of 23
Anonymous
in reply to: rkmcswain

Hi! I am same problem! Some soluttion?

 

Thanks!

Message 19 of 23
dkaven
in reply to: Anonymous

I have stated to work with 2017 and it seems to be fixed on my end. I noticed in the 2015 to 2016 you could replace the .dll file, but that would not fix the sump problem. But it fix the error message I would get when setting a structure.

 

Like I said I’m able to work / change the sump rules and it work in 2017. “What a long strange trip it’s been”   

 

 

 

Thanks,
Danny Kaven
Message 20 of 23
CADmgrMike
in reply to: rkmcswain

RK,

I get the sump depth error on two other pc's, but on mine, I get a whole string of errors and nothing references the surface I selected when creating the pipe network.

I've tried all the fixes I can find and nothing has worked so far.

I also have my reseller helping me try to figure it out.

Mike Porter
https://provostandpritchard.com/

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report